Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001787/0.001787, allocations: 110.6 kB / 16.41 MB, free: 6.449 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.002008/0.002008, allocations: 190.1 kB / 17.34 MB, free: 5.734 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.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2301/0.2301, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.002083/0.002083, allocations: 67.91 kB / 441.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1329, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01433/0.1472, allocations: 11.25 MB / 0.4984 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01742/0.1647, allocations: 14.27 MB / 0.5124 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.165, allocations: 4 kB / 0.5124 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.1655, allocations: 67.48 kB / 0.5124 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.1764, allocations: 3.113 MB / 0.5155 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.1768, allocations: 151.8 kB / 0.5156 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00632/0.1832, allocations: 3.901 MB / 0.5194 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.1833, allocations: 12.41 kB / 0.5194 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1835, allocations: 143.5 kB / 0.5196 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.194, allocations: 7.122 MB / 0.5265 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.1942, allocations: 8 kB / 0.5265 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.2002, allocations: 2.131 MB / 0.5286 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2004, allocations: 47.75 kB / 0.5287 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.2006, allocations: 123.5 kB / 0.5288 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.2053, allocations: 1.551 MB / 0.5303 GB, free: 268 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2053, allocations: 3.938 kB / 0.5303 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2053, allocations: 0 / 0.5303 GB, free: 264 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2053, allocations: 0 / 0.5303 GB, free: 264 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.2825/0.4879, allocations: 0.9408 MB / 0.5312 GB, free: 42.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4879, allocations: 12.95 kB / 0.5312 GB, free: 42.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.488, allocations: 61.95 kB / 0.5313 GB, free: 42.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.4886, allocations: 78.69 kB / 0.5314 GB, free: 42.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4889, allocations: 251.4 kB / 0.5316 GB, free: 42.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.4889, allocations: 21.31 kB / 0.5316 GB, free: 42.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.489, allocations: 30.97 kB / 0.5317 GB, free: 42.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.4899, allocations: 479 kB / 0.5321 GB, free: 42.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4899, allocations: 6.188 kB / 0.5321 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.49, allocations: 14.25 kB / 0.5321 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.49, allocations: 9.156 kB / 0.5321 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4912, allocations: 0.6808 MB / 0.5328 GB, free: 42.58 MB / 414.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.0071/0.4983, allocations: 4.304 MB / 0.537 GB, free: 39.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.499, allocations: 166.3 kB / 0.5372 GB, free: 39.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4991, allocations: 59.12 kB / 0.5372 GB, free: 39.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02954/0.5286, allocations: 16.41 MB / 0.5532 GB, free: 28.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/0.5295, allocations: 321.2 kB / 0.5536 GB, free: 27.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.5295, allocations: 0 / 0.5536 GB, free: 27.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001466/0.531, allocations: 439.6 kB / 0.554 GB, free: 27.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.5312, allocations: 481.4 kB / 0.5544 GB, free: 27.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.5313, allocations: 190.2 kB / 0.5546 GB, free: 27.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.5314, allocations: 32.48 kB / 0.5546 GB, free: 27.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.5315, allocations: 190.2 kB / 0.5548 GB, free: 26.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.5316, allocations: 104.5 kB / 0.5549 GB, free: 26.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.5317, allocations: 98.73 kB / 0.555 GB, free: 26.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.5318, allocations: 334.6 kB / 0.5553 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.5319, allocations: 63.34 kB / 0.5554 GB, free: 26.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.5322, allocations: 314.5 kB / 0.5557 GB, free: 26.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.5326, allocations: 433.5 kB / 0.5561 GB, free: 25.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5326, allocations: 2.156 kB / 0.5561 GB, free: 25.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000621/0.5333, allocations: 401.4 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5333, allocations: 9.312 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5333, allocations: 9 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.5334, allocations: 11.25 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.5337, allocations: 108.2 kB / 0.5566 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/0.5337, allocations: 17.03 kB / 0.5566 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.534, allocations: 47.31 kB / 0.5567 GB, free: 25.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.5341, allocations: 34.39 kB / 0.5567 GB, free: 25.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * 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.0001339/0.5342, allocations: 156.3 kB / 0.5569 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.5343, allocations: 34.89 kB / 0.5569 GB, free: 25.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.5353, allocations: 0.7784 MB / 0.5577 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5353, allocations: 11.36 kB / 0.5577 GB, free: 24.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5354, allocations: 3.156 kB / 0.5577 GB, free: 24.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5354, allocations: 2.281 kB / 0.5577 GB, free: 24.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.5366, allocations: 1.214 MB / 0.5589 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5366, allocations: 2.25 kB / 0.5589 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5367, allocations: 36.08 kB / 0.5589 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.5367, allocations: 3.719 kB / 0.5589 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5367, allocations: 9.469 kB / 0.5589 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5367, allocations: 7.203 kB / 0.5589 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5368, allocations: 3.438 kB / 0.5589 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.5372, allocations: 383.3 kB / 0.5593 GB, free: 23.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.5372, allocations: 106.8 kB / 0.5594 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.5373, allocations: 49.41 kB / 0.5594 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.5376, allocations: 17.77 kB / 0.5595 GB, free: 23.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.5376, allocations: 24.98 kB / 0.5595 GB, free: 23.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.5376, allocations: 6.875 kB / 0.5595 GB, free: 23.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.538, allocations: 300.3 kB / 0.5598 GB, free: 22.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.538, allocations: 0 / 0.5598 GB, free: 22.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001595/0.5396, allocations: 425.6 kB / 0.5602 GB, free: 22.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001928/0.5415, allocations: 1.44 MB / 0.5616 GB, free: 21.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.542, allocations: 240.9 kB / 0.5618 GB, free: 21.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/0.542, allocations: 1.469 kB / 0.5618 GB, free: 21.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5422, allocations: 85.88 kB / 0.5619 GB, free: 21.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.5429, allocations: 117.3 kB / 0.562 GB, free: 21.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.246/1.789, allocations: 0.5821 GB / 1.144 GB, free: 24.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/1.79, allocations: 0.8074 MB / 1.145 GB, free: 23.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003819/1.79, allocations: 164.6 kB / 1.145 GB, free: 23.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/1.79, allocations: 151.4 kB / 1.145 GB, free: 23.46 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/1.79, allocations: 4 kB / 1.145 GB, free: 23.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/1.831, allocations: 18.37 MB / 1.163 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.031/10.86, allocations: 17 kB / 1.163 GB, free: 5.121 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches