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.007494/0.007494, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001568, allocations: 193.4 kB / 16.79 MB, free: 6.238 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.388/1.388, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3362/0.3362, allocations: 43.5 MB / 313.5 MB, free: 8.555 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.001365/0.001366, allocations: 63.91 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006066/0.1167, allocations: 5.021 MB / 444.9 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004808/0.1216, allocations: 4.579 MB / 449.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1218, allocations: 4 kB / 449.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1222, allocations: 43.77 kB / 449.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.1239, allocations: 0.5985 MB / 450.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.1243, allocations: 147.8 kB / 450.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1248, allocations: 442.1 kB / 450.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.1248, allocations: 13.67 kB / 450.7 MB, free: 3.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.125, allocations: 155.3 kB / 450.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1252, allocations: 127.5 kB / 451 MB, free: 3.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1252, allocations: 4 kB / 451 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008137/0.1261, allocations: 363.5 kB / 451.4 MB, free: 3.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.1262, allocations: 39.81 kB / 451.4 MB, free: 3.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1263, allocations: 107.5 kB / 451.5 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.127, allocations: 423.1 kB / 451.9 MB, free: 2.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.127, allocations: 0 / 451.9 MB, free: 2.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.127, allocations: 3.938 kB / 451.9 MB, free: 2.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.127, allocations: 0 / 451.9 MB, free: 2.652 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.001006/0.128, allocations: 0.5892 MB / 452.5 MB, free: 2.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1281, allocations: 12.03 kB / 452.5 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.475e-05/0.1282, allocations: 54.73 kB / 452.6 MB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1283, allocations: 24.75 kB / 452.6 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1285, allocations: 228.1 kB / 452.8 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1287, allocations: 119.9 kB / 453 MB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1287, allocations: 28.11 kB / 453 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.1292, allocations: 327.6 kB / 453.3 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1292, allocations: 4 kB / 453.3 MB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1293, allocations: 8 kB / 453.3 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.1293, allocations: 11.98 kB / 453.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.13, allocations: 0.7274 MB / 454.1 MB, free: 396 kB / 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.1678/0.2978, allocations: 1.25 MB / 455.3 MB, free: 48.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.2982, allocations: 153.8 kB / 455.5 MB, free: 48.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2983, allocations: 75.48 kB / 455.5 MB, free: 48.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.2999, allocations: 2.667 MB / 458.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2999, allocations: 38.56 kB / 458.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.2999, allocations: 0 / 458.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006009/0.3005, allocations: 214.4 kB / 458.4 MB, free: 46.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3005, allocations: 55.38 kB / 458.5 MB, free: 46.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3007, allocations: 210.6 kB / 458.7 MB, free: 45.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3007, allocations: 25.7 kB / 458.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.3008, allocations: 216.8 kB / 458.9 MB, free: 45.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3008, allocations: 53.2 kB / 459 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.3009, allocations: 84.8 kB / 459.1 MB, free: 45.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.301, allocations: 332.6 kB / 459.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.301, allocations: 48.17 kB / 459.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.3012, allocations: 321.9 kB / 459.8 MB, free: 45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3015, allocations: 426 kB / 460.2 MB, free: 44.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3015, allocations: 3.094 kB / 460.2 MB, free: 44.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004367/0.302, allocations: 379.8 kB / 460.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.302, allocations: 11.08 kB / 460.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.302, allocations: 11.91 kB / 460.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.302, allocations: 11.25 kB / 460.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3023, allocations: 109.5 kB / 460.7 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.3023, allocations: 14.81 kB / 460.7 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3026, allocations: 21.95 kB / 460.7 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.3026, allocations: 34.42 kB / 460.8 MB, free: 44.61 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 9.18e-05/0.3027, allocations: 150.4 kB / 460.9 MB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3027, allocations: 20.03 kB / 460.9 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.303, allocations: 159.5 kB / 461.1 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.303, allocations: 5.859 kB / 461.1 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.303, allocations: 4 kB / 461.1 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3031, allocations: 0 / 461.1 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3035, allocations: 430.3 kB / 461.5 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3035, allocations: 0 / 461.5 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3036, allocations: 35.33 kB / 461.5 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3036, allocations: 0 / 461.5 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3037, allocations: 5.938 kB / 461.6 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3037, allocations: 1.688 kB / 461.6 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3037, allocations: 10.73 kB / 461.6 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3038, allocations: 218.5 kB / 461.8 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.3039, allocations: 99.33 kB / 461.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.304, allocations: 2.781 kB / 461.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3041, allocations: 13.95 kB / 461.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.3042, allocations: 8.75 kB / 461.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3042, allocations: 13.72 kB / 461.9 MB, free: 43.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.3043, allocations: 149.1 kB / 462.1 MB, free: 43.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3043, allocations: 0 / 462.1 MB, free: 43.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000445/0.3047, allocations: 104 kB / 462.2 MB, free: 43.79 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.0005633/0.3053, allocations: 0.8249 MB / 463 MB, free: 43.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3056, allocations: 171.9 kB / 463.2 MB, free: 43.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3056, allocations: 3.25 kB / 463.2 MB, free: 43.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.3057, allocations: 41.09 kB / 463.2 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3061, allocations: 47.53 kB / 463.2 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3083, allocations: 2.774 MB / 466 MB, free: 40.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3085, allocations: 0.7284 MB / 466.7 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.3088, allocations: 68.22 kB / 466.8 MB, free: 40.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.3089, allocations: 66.7 kB / 466.9 MB, free: 40.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3089, allocations: 3.828 kB / 466.9 MB, free: 40.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.3247, allocations: 5.307 MB / 472.2 MB, free: 39.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.3249, allocations: 219.6 kB / 472.4 MB, free: 39.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.19, allocations: 0 / 472.4 MB, free: 39.38 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