Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.0013/0.0013, 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.001471/0.001471, allocations: 208.3 kB / 24.52 MB, free: 4.074 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2279/0.2279, allocations: 46.93 MB / 361.7 MB, free: 4.266 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.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 0.497 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 66.04 MB / 0.5615 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006568/0.3506, allocations: 4.652 MB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.3556, allocations: 4.037 MB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3557, allocations: 4 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.356, allocations: 55.61 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.358, allocations: 0.7422 MB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3584, allocations: 131.5 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.3589, allocations: 386 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.359, allocations: 9.812 kB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.3592, allocations: 147.5 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.3595, allocations: 155.4 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3595, allocations: 8 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009898/0.3605, allocations: 443.4 kB / 0.5719 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.3606, allocations: 43.88 kB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3607, allocations: 103.5 kB / 0.5721 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.3615, allocations: 472.5 kB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3615, allocations: 0 / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3615, allocations: 0 / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.3615, allocations: 0 / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001167/0.3627, allocations: 0.5363 MB / 0.5731 GB, free: 8.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3627, allocations: 12.02 kB / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.791e-05/0.3627, allocations: 12.69 kB / 0.5731 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/0.3628, allocations: 62.73 kB / 0.5731 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3629, allocations: 24.84 kB / 0.5732 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.3633, allocations: 170.2 kB / 0.5733 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.3635, allocations: 226.7 kB / 0.5735 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.3635, allocations: 27.88 kB / 0.5736 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.3641, allocations: 338.8 kB / 0.5739 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3641, allocations: 0 / 0.5739 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3641, allocations: 12 kB / 0.5739 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.3641, allocations: 4 kB / 0.5739 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/0.3651, allocations: 0.7586 MB / 0.5747 GB, free: 6.762 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3667, allocations: 1.276 MB / 0.5759 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.367, allocations: 155.7 kB / 0.576 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3672, allocations: 81.47 kB / 0.5761 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/0.3688, allocations: 0.7349 MB / 0.5768 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.3689, allocations: 38.5 kB / 0.5769 GB, free: 4.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.3689, allocations: 4 kB / 0.5769 GB, free: 4.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003353/0.3692, allocations: 121.4 kB / 0.577 GB, free: 4.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3693, allocations: 55.41 kB / 0.5771 GB, free: 4.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.3695, allocations: 227.8 kB / 0.5773 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.3695, allocations: 29.7 kB / 0.5773 GB, free: 3.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3697, allocations: 219.5 kB / 0.5775 GB, free: 3.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.3697, allocations: 47.58 kB / 0.5776 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3698, allocations: 82.08 kB / 0.5776 GB, free: 3.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.37, allocations: 334.8 kB / 0.5779 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.3701, allocations: 44.84 kB / 0.578 GB, free: 3.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.3705, allocations: 351.2 kB / 0.5783 GB, free: 2.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.371, allocations: 436.6 kB / 0.5787 GB, free: 2.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.371, allocations: 7.984 kB / 0.5787 GB, free: 2.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005951/0.3716, allocations: 389.1 kB / 0.5791 GB, free: 1.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3716, allocations: 8 kB / 0.5791 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.3717, allocations: 15.94 kB / 0.5791 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.3717, allocations: 12.75 kB / 0.5792 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3719, allocations: 99.83 kB / 0.5793 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.372, allocations: 23.88 kB / 0.5793 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.3722, allocations: 51.62 kB / 0.5793 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3723, allocations: 28 kB / 0.5793 GB, free: 1.445 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 0.0001448/0.3724, allocations: 149.6 kB / 0.5795 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.3725, allocations: 23.91 kB / 0.5795 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.3728, allocations: 144.5 kB / 0.5797 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3728, allocations: 4.031 kB / 0.5797 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3728, allocations: 0 / 0.5797 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3728, allocations: 7.984 kB / 0.5797 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.3733, allocations: 380 kB / 0.58 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3733, allocations: 7.938 kB / 0.58 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.3734, allocations: 8 kB / 0.58 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3734, allocations: 4 kB / 0.58 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3734, allocations: 0 / 0.58 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.3734, allocations: 4 kB / 0.58 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3734, allocations: 3.984 kB / 0.5801 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3736, allocations: 206 kB / 0.5802 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.3737, allocations: 31.77 kB / 0.5803 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.3737, allocations: 7.953 kB / 0.5803 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3739, allocations: 0 / 0.5803 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.3739, allocations: 11.98 kB / 0.5803 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3739, allocations: 4 kB / 0.5803 GB, free: 368 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.374, allocations: 156.5 kB / 0.5805 GB, free: 212 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.374, allocations: 3.938 kB / 0.5805 GB, free: 208 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.3746, allocations: 103.8 kB / 0.5806 GB, free: 104 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008432/0.3754, allocations: 0.789 MB / 0.5813 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3757, allocations: 173.9 kB / 0.5815 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3757, allocations: 0 / 0.5815 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.3757, allocations: 19.94 kB / 0.5815 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3762, allocations: 45.14 kB / 0.5816 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.3797, allocations: 2.807 MB / 0.5843 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3801, allocations: 0.7245 MB / 0.585 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.3803, allocations: 50.98 kB / 0.5851 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.3804, allocations: 67.34 kB / 0.5851 GB, free: 10.98 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3804, allocations: 0 / 0.5851 GB, free: 10.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.408, allocations: 5.581 MB / 0.5906 GB, free: 5.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.49, allocations: 6.719 kB / 0.5906 GB, free: 5.555 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.62938552396372]