Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 176 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3604/0.3604, allocations: 43.58 MB / 315 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005142, allocations: 16 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005343/0.1379, allocations: 4.616 MB / 448.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.1429, allocations: 4.513 MB / 452.7 MB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.143, allocations: 0 / 452.7 MB, free: 3.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1433, allocations: 43.73 kB / 452.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.1446, allocations: 0.6024 MB / 453.3 MB, free: 2.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.145, allocations: 159.7 kB / 453.5 MB, free: 2.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.1456, allocations: 438 kB / 453.9 MB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.1457, allocations: 13.69 kB / 453.9 MB, free: 2.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1459, allocations: 147.5 kB / 454.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1462, allocations: 135.4 kB / 454.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1462, allocations: 8 kB / 454.2 MB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007919/0.147, allocations: 351.5 kB / 454.5 MB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.1471, allocations: 43.81 kB / 454.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1472, allocations: 137.2 kB / 454.7 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.1478, allocations: 419.2 kB / 455.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1478, allocations: 0 / 455.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1478, allocations: 0 / 455.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1478, allocations: 0 / 455.1 MB, free: 1.168 MB / 382.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.0008926/0.1487, allocations: 0.5346 MB / 455.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.1488, allocations: 8.031 kB / 455.7 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.1489, allocations: 58.73 kB / 455.7 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.149, allocations: 32.64 kB / 455.8 MB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1493, allocations: 220.1 kB / 456 MB, free: 232 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.1494, allocations: 123.9 kB / 456.1 MB, free: 84 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1495, allocations: 32.11 kB / 456.1 MB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2209/0.3703, allocations: 320.5 kB / 456.4 MB, free: 46.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3704, allocations: 3.844 kB / 456.4 MB, free: 46.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.3704, allocations: 9.688 kB / 456.5 MB, free: 46.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.3705, allocations: 12.17 kB / 456.5 MB, free: 46.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.3713, allocations: 0.7346 MB / 457.2 MB, free: 46.87 MB / 382.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.001302/0.3726, allocations: 1.252 MB / 458.4 MB, free: 45.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.3729, allocations: 147.9 kB / 458.6 MB, free: 45.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.373, allocations: 78.41 kB / 458.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/0.3748, allocations: 2.664 MB / 461.3 MB, free: 43.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3748, allocations: 34.41 kB / 461.4 MB, free: 43.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.395e-06/0.3749, allocations: 2.719 kB / 461.4 MB, free: 43.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006594/0.3755, allocations: 217.1 kB / 461.6 MB, free: 43.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3756, allocations: 55.62 kB / 461.6 MB, free: 42.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3757, allocations: 212.5 kB / 461.8 MB, free: 42.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3758, allocations: 30.92 kB / 461.9 MB, free: 42.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3759, allocations: 208.7 kB / 462.1 MB, free: 42.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.3759, allocations: 56.95 kB / 462.1 MB, free: 42.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.376, allocations: 36 kB / 462.2 MB, free: 42.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.3761, allocations: 331.5 kB / 462.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.3762, allocations: 48.33 kB / 462.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3764, allocations: 323.4 kB / 462.9 MB, free: 41.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.3767, allocations: 423.6 kB / 463.3 MB, free: 41.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3767, allocations: 3.094 kB / 463.3 MB, free: 41.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00052/0.3773, allocations: 375.8 kB / 463.6 MB, free: 41.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3773, allocations: 10.03 kB / 463.6 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3773, allocations: 8.438 kB / 463.7 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3773, allocations: 25.67 kB / 463.7 MB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.3776, allocations: 103.7 kB / 463.8 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.3777, allocations: 21.78 kB / 463.8 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3779, allocations: 16.77 kB / 463.8 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.378, allocations: 28.53 kB / 463.8 MB, free: 41.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001126/0.3781, allocations: 155.7 kB / 464 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.3781, allocations: 18.34 kB / 464 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.3784, allocations: 153.1 kB / 464.2 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3785, allocations: 2.656 kB / 464.2 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3785, allocations: 4 kB / 464.2 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3785, allocations: 0 / 464.2 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.379, allocations: 437.9 kB / 464.6 MB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.379, allocations: 0 / 464.6 MB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3792, allocations: 39.66 kB / 464.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3792, allocations: 0.6562 kB / 464.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3792, allocations: 3.594 kB / 464.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3792, allocations: 0 / 464.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3792, allocations: 32 / 464.6 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3794, allocations: 228.9 kB / 464.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.3795, allocations: 108.4 kB / 465 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3795, allocations: 10.14 kB / 465 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3797, allocations: 5.969 kB / 465 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3797, allocations: 11.91 kB / 465 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3798, allocations: 12.94 kB / 465 MB, free: 40.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3799, allocations: 146.2 kB / 465.2 MB, free: 40.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3799, allocations: 3.094 kB / 465.2 MB, free: 40.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.3804, allocations: 97.75 kB / 465.3 MB, free: 40.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0006656/0.381, allocations: 0.8185 MB / 466.1 MB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.3813, allocations: 179.1 kB / 466.3 MB, free: 39.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3814, allocations: 192 / 466.3 MB, free: 39.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.3814, allocations: 43.38 kB / 466.3 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3819, allocations: 47.11 kB / 466.3 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.3846, allocations: 2.818 MB / 469.2 MB, free: 37.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3849, allocations: 0.7314 MB / 469.9 MB, free: 37.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.3852, allocations: 66.7 kB / 470 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3853, allocations: 66.16 kB / 470 MB, free: 37.01 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3853, allocations: 0 / 470 MB, free: 37.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.4038, allocations: 5.232 MB / 475.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.404, allocations: 223.7 kB / 475.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.342, allocations: 0 / 475.5 MB, free: 36.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches