Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.0007051/0.000705, allocations: 94.64 kB / 17.35 MB, free: 6.344 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.0008559/0.000856, allocations: 173.4 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00525/0.1195, allocations: 4.207 MB / 476.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.124, allocations: 4.003 MB / 480.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1242, allocations: 0 / 480.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1245, allocations: 51.72 kB / 480.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.1266, allocations: 0.6531 MB / 481.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.127, allocations: 137.7 kB / 481.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.1277, allocations: 434.2 kB / 481.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.1278, allocations: 13.67 kB / 481.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.1281, allocations: 143.4 kB / 482 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.1284, allocations: 159.4 kB / 482.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1285, allocations: 7.938 kB / 482.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1296, allocations: 435.3 kB / 482.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1297, allocations: 47.75 kB / 482.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1299, allocations: 133.2 kB / 482.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.131, allocations: 475 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.131, allocations: 0 / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.131, allocations: 4 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.131, allocations: 0 / 483.2 MB, free: 2.363 MB / 350.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.001293/0.1323, allocations: 0.5423 MB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.1324, allocations: 12.03 kB / 483.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1325, allocations: 66.72 kB / 483.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.1327, allocations: 24.75 kB / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.133, allocations: 228 kB / 484.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.1332, allocations: 123.9 kB / 484.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.1333, allocations: 20.12 kB / 484.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.1338, allocations: 323.7 kB / 484.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1339, allocations: 3.938 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.1339, allocations: 12 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1339, allocations: 8 kB / 484.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.1348, allocations: 0.7391 MB / 485.3 MB, free: 132 kB / 350.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.001527/0.1363, allocations: 1.3 MB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.1367, allocations: 171.7 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1368, allocations: 81.48 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002707/0.1395, allocations: 2.798 MB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1396, allocations: 38.55 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1396, allocations: 7.938 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003021/0.1399, allocations: 113.4 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1399, allocations: 55.41 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1401, allocations: 223.8 kB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1402, allocations: 29.7 kB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1403, allocations: 210.6 kB / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.1404, allocations: 55.36 kB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.1404, allocations: 37.7 kB / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1406, allocations: 330.8 kB / 490.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.1407, allocations: 52.83 kB / 490.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.141, allocations: 339.2 kB / 491.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.1415, allocations: 444.6 kB / 491.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.1415, allocations: 4 kB / 491.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000641/0.1421, allocations: 385.1 kB / 491.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.1422, allocations: 14.5 kB / 491.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.1422, allocations: 8 kB / 491.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.1423, allocations: 20.72 kB / 492 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1425, allocations: 99.77 kB / 492.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.754e-05/0.1425, allocations: 27.92 kB / 492.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.1428, allocations: 55.38 kB / 492.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.1429, allocations: 28 kB / 492.2 MB, free: 8.234 MB / 366.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.0001363/0.143, allocations: 149.6 kB / 492.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.1431, allocations: 19.81 kB / 492.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.1434, allocations: 152.4 kB / 492.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1434, allocations: 3.938 kB / 492.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1434, allocations: 0 / 492.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1434, allocations: 0 / 492.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.1439, allocations: 412.9 kB / 492.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1439, allocations: 0 / 492.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.144, allocations: 15.94 kB / 492.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.144, allocations: 0 / 492.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.144, allocations: 4 kB / 492.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.144, allocations: 0 / 492.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.144, allocations: 4 kB / 492.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1442, allocations: 213.8 kB / 493.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.1443, allocations: 100.8 kB / 493.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1444, allocations: 4 kB / 493.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1445, allocations: 7.984 kB / 493.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.1445, allocations: 8 kB / 493.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1446, allocations: 7.984 kB / 493.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1447, allocations: 152.5 kB / 493.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.1447, allocations: 0 / 493.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.1452, allocations: 103.9 kB / 493.5 MB, free: 6.777 MB / 366.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.0007105/0.1459, allocations: 0.7857 MB / 494.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1463, allocations: 172.9 kB / 494.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.1463, allocations: 0 / 494.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.1463, allocations: 33.61 kB / 494.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1468, allocations: 42.88 kB / 494.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.1501, allocations: 2.904 MB / 497.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1505, allocations: 0.7287 MB / 498.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.1507, allocations: 51.36 kB / 498.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.1508, allocations: 63.36 kB / 498.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1508, allocations: 0 / 498.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.1671, allocations: 4.891 MB / 0.4914 GB, free: 12.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.1674, allocations: 216.9 kB / 0.4916 GB, free: 12.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.025, allocations: 0 / 0.4916 GB, free: 12.55 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches