Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.001069/0.00107, allocations: 106.5 kB / 15.98 MB, free: 6.348 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.001095/0.001095, allocations: 189.5 kB / 16.91 MB, free: 6.191 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.519/1.519, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.3652/0.3652, allocations: 43.5 MB / 313.6 MB, free: 8.535 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.00135/0.00135, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.01024/0.1321, allocations: 8.174 MB / 448.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1343, allocations: 1.889 MB / 450.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.1344, allocations: 4 kB / 450.2 MB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1347, allocations: 35.81 kB / 450.2 MB, free: 4.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.1375, allocations: 1.196 MB / 451.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1379, allocations: 151.7 kB / 451.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.1382, allocations: 294.7 kB / 451.8 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.1383, allocations: 17.55 kB / 451.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.1393, allocations: 0.8651 MB / 452.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1396, allocations: 155.5 kB / 452.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1396, allocations: 8 kB / 452.9 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.1416, allocations: 1.552 MB / 454.4 MB, free: 244 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.1417, allocations: 35.83 kB / 454.5 MB, free: 208 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.393e-05/0.1418, allocations: 83.64 kB / 454.6 MB, free: 124 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2174/0.3591, allocations: 0.6555 MB / 455.2 MB, free: 39.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3592, allocations: 1.094 kB / 455.2 MB, free: 39.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3592, allocations: 0 / 455.2 MB, free: 39.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3592, allocations: 0 / 455.2 MB, free: 39.94 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001034/0.3603, allocations: 0.604 MB / 455.8 MB, free: 39.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3603, allocations: 12.48 kB / 455.8 MB, free: 39.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.3604, allocations: 53.19 kB / 455.9 MB, free: 39.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.3609, allocations: 46.83 kB / 455.9 MB, free: 39.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3611, allocations: 214.2 kB / 456.1 MB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3611, allocations: 12.44 kB / 456.1 MB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3612, allocations: 16.88 kB / 456.2 MB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3616, allocations: 242.9 kB / 456.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3616, allocations: 3.688 kB / 456.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.3616, allocations: 9.125 kB / 456.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3616, allocations: 6.156 kB / 456.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.3619, allocations: 233.2 kB / 456.6 MB, free: 39.2 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.001036/0.363, allocations: 1.373 MB / 458 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.3632, allocations: 83.33 kB / 458.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.3633, allocations: 44.28 kB / 458.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/0.3649, allocations: 2.648 MB / 460.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.3653, allocations: 169.3 kB / 461 MB, free: 35.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.3653, allocations: 0 / 461 MB, free: 35.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008931/0.3662, allocations: 358.1 kB / 461.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.3663, allocations: 266.6 kB / 461.6 MB, free: 34.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3664, allocations: 157.7 kB / 461.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3664, allocations: 34.27 kB / 461.8 MB, free: 34.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.3665, allocations: 147.4 kB / 461.9 MB, free: 34.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.3665, allocations: 66.39 kB / 462 MB, free: 34.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.3666, allocations: 61.78 kB / 462 MB, free: 34.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.3667, allocations: 320.7 kB / 462.3 MB, free: 33.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.3668, allocations: 43.23 kB / 462.4 MB, free: 33.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3669, allocations: 187.3 kB / 462.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3671, allocations: 261.6 kB / 462.8 MB, free: 33.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3671, allocations: 0 / 462.8 MB, free: 33.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003808/0.3675, allocations: 263 kB / 463.1 MB, free: 33.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3675, allocations: 8 kB / 463.1 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3676, allocations: 8.688 kB / 463.1 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3676, allocations: 9.781 kB / 463.1 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.368, allocations: 103 kB / 463.2 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002201/0.3683, allocations: 0.594 MB / 463.8 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.3684, allocations: 16.84 kB / 463.8 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.3684, allocations: 20.31 kB / 463.8 MB, free: 32.96 MB / 382.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.0001054/0.3686, allocations: 142.8 kB / 464 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.3686, allocations: 12.84 kB / 464 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.3691, allocations: 244.4 kB / 464.2 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3691, allocations: 0 / 464.2 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3691, allocations: 6.969 kB / 464.2 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3691, allocations: 0 / 464.2 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3693, allocations: 226.7 kB / 464.4 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3693, allocations: 3.125 kB / 464.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3696, allocations: 54.94 kB / 464.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3696, allocations: 0 / 464.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3697, allocations: 6.188 kB / 464.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001762/0.3698, allocations: 0.5843 MB / 465.1 MB, free: 31.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3699, allocations: 8.016 kB / 465.1 MB, free: 31.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.3701, allocations: 144 kB / 465.2 MB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.3701, allocations: 104.7 kB / 465.3 MB, free: 31.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.3702, allocations: 13.42 kB / 465.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3703, allocations: 6.406 kB / 465.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.3703, allocations: 14.67 kB / 465.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3704, allocations: 15.62 kB / 465.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.179e-05/0.3704, allocations: 126.5 kB / 465.5 MB, free: 31.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3704, allocations: 0 / 465.5 MB, free: 31.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006023/0.3711, allocations: 173.7 kB / 465.7 MB, free: 31.65 MB / 382.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.0009942/0.3721, allocations: 0.9236 MB / 466.6 MB, free: 31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.3725, allocations: 174.5 kB / 466.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3725, allocations: 0 / 466.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.3727, allocations: 53.8 kB / 466.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3731, allocations: 53.45 kB / 466.9 MB, free: 30.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3756, allocations: 2.555 MB / 469.4 MB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3757, allocations: 0.7106 MB / 470.2 MB, free: 28.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000303/0.376, allocations: 76.09 kB / 470.2 MB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3762, allocations: 55.3 kB / 470.3 MB, free: 28.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3762, allocations: 4 kB / 470.3 MB, free: 28.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.3966, allocations: 7.318 MB / 477.6 MB, free: 27.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.3968, allocations: 293.5 kB / 477.9 MB, free: 27.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.436, allocations: 7.844 kB / 477.9 MB, free: 27.31 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches