Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 46.95 MB / 361.7 MB, free: 4.367 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.91 kB / 0.4969 GB, free: 7.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3113, allocations: 66.04 MB / 0.5614 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001598/0.3129, allocations: 0.4943 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3148, allocations: 1.413 MB / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.3149, allocations: 0 / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.3149, allocations: 3.938 kB / 0.5633 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.194e-05/0.3149, allocations: 0 / 0.5633 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.3156, allocations: 219.7 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.3157, allocations: 7.938 kB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.3157, allocations: 8 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.3157, allocations: 7.969 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.3158, allocations: 4 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3158, allocations: 0 / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.3162, allocations: 275.6 kB / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.3163, allocations: 7.938 kB / 0.5638 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.3163, allocations: 0 / 0.5638 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3165, allocations: 145.9 kB / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3165, allocations: 0 / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3165, allocations: 0 / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3165, allocations: 0 / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003662/0.3169, allocations: 258.2 kB / 0.5642 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3169, allocations: 12.03 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.3169, allocations: 12.12 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.317, allocations: 30.75 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.317, allocations: 0.9375 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.534e-05/0.3171, allocations: 106.5 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.3171, allocations: 8.25 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.3171, allocations: 384 / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.3172, allocations: 37.62 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3172, allocations: 0 / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3172, allocations: 4 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3172, allocations: 0 / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.3172, allocations: 4 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.3174, allocations: 116.8 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.3174, allocations: 26.53 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.3174, allocations: 4.859 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3174, allocations: 3.938 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3175, allocations: 42.62 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3175, allocations: 0 / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.3176, allocations: 33.64 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3176, allocations: 55.41 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.3177, allocations: 93.84 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3177, allocations: 25.7 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3178, allocations: 80.14 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3178, allocations: 16.14 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.3178, allocations: 13.72 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3179, allocations: 310.8 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.318, allocations: 4 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.318, allocations: 0 / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.318, allocations: 12.86 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.318, allocations: 0 / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.606e-05/0.3181, allocations: 49.56 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3181, allocations: 8.094 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3181, allocations: 0 / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3181, allocations: 0 / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.3181, allocations: 4 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3181, allocations: 0 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.3182, allocations: 0 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3182, allocations: 0 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.3182, allocations: 109.8 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.3182, allocations: 11.92 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.3184, allocations: 44.86 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3184, allocations: 3.938 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3184, allocations: 0 / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3184, allocations: 0 / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.617e-05/0.3185, allocations: 120.8 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3185, allocations: 7.875 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3185, allocations: 0 / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3185, allocations: 3.969 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3185, allocations: 8 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3185, allocations: 0 / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3185, allocations: 0 / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.61e-05/0.3186, allocations: 61.12 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.3186, allocations: 7.938 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.3186, allocations: 0 / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.3186, allocations: 4 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3186, allocations: 8.016 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3186, allocations: 0 / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.652e-05/0.3187, allocations: 83.28 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3187, allocations: 0 / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.319, allocations: 35.94 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005373/0.3195, allocations: 0.6397 MB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.613e-05/0.3196, allocations: 7.984 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3196, allocations: 0 / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.3196, allocations: 33.7 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3197, allocations: 3.984 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.3201, allocations: 126.6 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3204, allocations: 0.6769 MB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.3204, allocations: 4 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.3204, allocations: 11.42 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3204, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.3405, allocations: 1.979 MB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 7.922 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.196748419024516]