Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",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.0008228/0.0008229, allocations: 88.47 kB / 17.35 MB, free: 6.031 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.0007664/0.0007665, allocations: 174.9 kB / 18.26 MB, free: 5.387 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.395/1.395, allocations: 223.3 MB / 242.3 MB, free: 184 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.2065/0.2065, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 12.62 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007369/0.1245, allocations: 4.959 MB / 477.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1278, allocations: 2.632 MB / 480 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.128, allocations: 8 kB / 480 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1284, allocations: 31.81 kB / 480 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.1314, allocations: 0.9377 MB / 480.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1318, allocations: 148.7 kB / 481.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.1324, allocations: 330.7 kB / 481.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.555e-05/0.1325, allocations: 9.562 kB / 481.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.1337, allocations: 0.7406 MB / 482.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.1341, allocations: 159.5 kB / 482.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.1342, allocations: 4 kB / 482.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.1364, allocations: 1.232 MB / 483.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.1365, allocations: 39.77 kB / 483.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1367, allocations: 105.3 kB / 483.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.138, allocations: 0.5301 MB / 484.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.138, allocations: 0 / 484.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.138, allocations: 4 kB / 484.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.138, allocations: 0 / 484.2 MB, free: 1.348 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001119/0.1391, allocations: 0.5185 MB / 484.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1392, allocations: 8.031 kB / 484.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.357e-05/0.1393, allocations: 54.73 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.1398, allocations: 44.72 kB / 484.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.1402, allocations: 216 kB / 485.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1402, allocations: 20.06 kB / 485.1 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.1403, allocations: 20 kB / 485.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.1408, allocations: 241.7 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1408, allocations: 0 / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1408, allocations: 8 kB / 485.3 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1408, allocations: 8 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.1412, allocations: 236.5 kB / 485.6 MB, free: 15.86 MB / 366.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.001574/0.1428, allocations: 1.357 MB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1432, allocations: 82.61 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.1433, allocations: 47.08 kB / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002082/0.1454, allocations: 2.051 MB / 489.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.1457, allocations: 177.6 kB / 489.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 3.677e-06/0.1457, allocations: 0 / 489.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001075/0.1468, allocations: 352 kB / 489.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.1469, allocations: 269 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1471, allocations: 145.7 kB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.1472, allocations: 33.69 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1473, allocations: 147.7 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1474, allocations: 71.08 kB / 490.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1475, allocations: 29.7 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1477, allocations: 326.8 kB / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.1477, allocations: 35.98 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.148, allocations: 186.8 kB / 490.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1483, allocations: 254.6 kB / 491.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1483, allocations: 0 / 491.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004257/0.1487, allocations: 268.2 kB / 491.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1488, allocations: 11.94 kB / 491.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1488, allocations: 4.656 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1488, allocations: 8 kB / 491.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.1493, allocations: 99.88 kB / 491.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/0.1497, allocations: 0.5976 MB / 492.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1498, allocations: 16.12 kB / 492.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.1499, allocations: 20 kB / 492.1 MB, free: 8.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.15, allocations: 133.8 kB / 492.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1501, allocations: 23.73 kB / 492.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.1506, allocations: 235.7 kB / 492.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1506, allocations: 0 / 492.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1506, allocations: 7.938 kB / 492.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1506, allocations: 3.984 kB / 492.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1511, allocations: 440.8 kB / 492.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1511, allocations: 0 / 492.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1514, allocations: 51.95 kB / 493 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.1514, allocations: 8.031 kB / 493 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1514, allocations: 4 kB / 493 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005305/0.152, allocations: 0.5782 MB / 493.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.152, allocations: 3.938 kB / 493.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1523, allocations: 154.6 kB / 493.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.1524, allocations: 108.9 kB / 493.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1524, allocations: 7.984 kB / 493.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1526, allocations: 11.91 kB / 493.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1526, allocations: 11.98 kB / 493.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1526, allocations: 4 kB / 493.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1528, allocations: 139.7 kB / 494 MB, free: 6.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1528, allocations: 0 / 494 MB, free: 6.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000506/0.1533, allocations: 135.9 kB / 494.1 MB, free: 6.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.1544, allocations: 0.8311 MB / 495 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004619/0.1549, allocations: 164.4 kB / 495.1 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1549, allocations: 3.938 kB / 495.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.1551, allocations: 47.91 kB / 495.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1555, allocations: 54.25 kB / 495.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.1591, allocations: 2.58 MB / 497.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1594, allocations: 0.7128 MB / 498.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.1597, allocations: 81.81 kB / 498.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.1599, allocations: 55.41 kB / 498.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1599, allocations: 4 kB / 498.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1822, allocations: 6.216 MB / 0.493 GB, free: 11.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.1825, allocations: 302 kB / 0.4933 GB, free: 11.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.134, allocations: 4 kB / 0.4933 GB, free: 11.07 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches