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.001245/0.001245, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001422/0.001422, allocations: 212.1 kB / 23.73 MB, free: 4.523 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.224/0.224, allocations: 46.96 MB / 360.9 MB, free: 4.035 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 75.77 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3369, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00668/0.3436, allocations: 4.314 MB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.3482, allocations: 3.589 MB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3483, allocations: 0 / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.3486, allocations: 55.61 kB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.3506, allocations: 0.7422 MB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3509, allocations: 130.5 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.3515, allocations: 390 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.3515, allocations: 9.812 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.3517, allocations: 147.5 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.352, allocations: 147.5 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.352, allocations: 8 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.353, allocations: 391.5 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.3531, allocations: 47.8 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3532, allocations: 95.58 kB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.3539, allocations: 464.4 kB / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3539, allocations: 0 / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3539, allocations: 0 / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3539, allocations: 4 kB / 0.5709 GB, free: 9.695 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.001156/0.3551, allocations: 0.5246 MB / 0.5714 GB, free: 9.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3551, allocations: 12.03 kB / 0.5714 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.096e-05/0.3552, allocations: 62.73 kB / 0.5715 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3553, allocations: 24.84 kB / 0.5715 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3557, allocations: 174.2 kB / 0.5716 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.3559, allocations: 226.7 kB / 0.5719 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.3559, allocations: 24.12 kB / 0.5719 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.3565, allocations: 489 kB / 0.5723 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3565, allocations: 0 / 0.5723 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.3566, allocations: 15.92 kB / 0.5724 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.3566, allocations: 12 kB / 0.5724 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.3575, allocations: 0.7118 MB / 0.5731 GB, free: 7.262 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.001382/0.3588, allocations: 1.085 MB / 0.5741 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3592, allocations: 151.7 kB / 0.5743 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3593, allocations: 81.47 kB / 0.5743 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.3609, allocations: 0.7232 MB / 0.5751 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.361, allocations: 42.48 kB / 0.5751 GB, free: 5.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.361, allocations: 4 kB / 0.5751 GB, free: 5.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002908/0.3613, allocations: 113.5 kB / 0.5752 GB, free: 4.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3613, allocations: 59.34 kB / 0.5753 GB, free: 4.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3615, allocations: 235.8 kB / 0.5755 GB, free: 4.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3615, allocations: 29.7 kB / 0.5755 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3617, allocations: 227.4 kB / 0.5757 GB, free: 4.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.3617, allocations: 47.67 kB / 0.5758 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3618, allocations: 86.03 kB / 0.5759 GB, free: 4.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.362, allocations: 326.8 kB / 0.5762 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.3621, allocations: 44.84 kB / 0.5762 GB, free: 3.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.3624, allocations: 351.2 kB / 0.5766 GB, free: 3.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.3628, allocations: 444.6 kB / 0.577 GB, free: 2.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3628, allocations: 4 kB / 0.577 GB, free: 2.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005687/0.3634, allocations: 377.8 kB / 0.5773 GB, free: 2.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3634, allocations: 8 kB / 0.5773 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3634, allocations: 16.09 kB / 0.5774 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3635, allocations: 19.94 kB / 0.5774 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3637, allocations: 95.83 kB / 0.5775 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.3637, allocations: 19.88 kB / 0.5775 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.364, allocations: 59.61 kB / 0.5775 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.364, allocations: 28 kB / 0.5776 GB, free: 2.184 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.0001336/0.3641, allocations: 153.6 kB / 0.5777 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.3642, allocations: 19.86 kB / 0.5777 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.3645, allocations: 152.8 kB / 0.5779 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.3645, allocations: 4 kB / 0.5779 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3645, allocations: 0 / 0.5779 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3645, allocations: 48 / 0.5779 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.365, allocations: 380 kB / 0.5783 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.365, allocations: 7.969 kB / 0.5783 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.365, allocations: 19.98 kB / 0.5783 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.365, allocations: 0 / 0.5783 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3651, allocations: 4 kB / 0.5783 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3651, allocations: 0 / 0.5783 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3651, allocations: 4 kB / 0.5783 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3653, allocations: 205.8 kB / 0.5785 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.3653, allocations: 15.91 kB / 0.5785 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.3653, allocations: 11.98 kB / 0.5785 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3655, allocations: 7.984 kB / 0.5785 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3655, allocations: 11.92 kB / 0.5785 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3655, allocations: 4 kB / 0.5785 GB, free: 1.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.3657, allocations: 156.7 kB / 0.5787 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 7.938 kB / 0.5787 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.3661, allocations: 99.77 kB / 0.5788 GB, free: 0.8359 MB / 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.0006629/0.3668, allocations: 0.7889 MB / 0.5796 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.3671, allocations: 157.6 kB / 0.5797 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3671, allocations: 0.875 kB / 0.5797 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.3671, allocations: 27.92 kB / 0.5797 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.3676, allocations: 44.58 kB / 0.5798 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.3708, allocations: 2.811 MB / 0.5825 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3709, allocations: 116.6 kB / 0.5826 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.3711, allocations: 54.86 kB / 0.5827 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.3712, allocations: 59.42 kB / 0.5827 GB, free: 12.34 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3712, allocations: 0 / 0.5827 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.4023, allocations: 5.974 MB / 0.5886 GB, free: 6.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.02, allocations: 3.938 kB / 0.5886 GB, free: 6.543 MB / 430.1 MB " [Timeout remaining time 649] (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: 13.959961156011559]