Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 79.84 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3781, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01444/0.3926, allocations: 11.28 MB / 0.5417 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.408, allocations: 11.78 MB / 0.5532 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.4084, allocations: 4 kB / 0.5532 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.409, allocations: 71.48 kB / 0.5533 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.4206, allocations: 3.123 MB / 0.5563 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.4211, allocations: 146.8 kB / 0.5565 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006017/0.4272, allocations: 3.905 MB / 0.5603 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.4272, allocations: 12.41 kB / 0.5603 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.4275, allocations: 143.5 kB / 0.5604 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.4383, allocations: 7.118 MB / 0.5674 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.4384, allocations: 8 kB / 0.5674 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007263/0.4457, allocations: 2.396 MB / 0.5697 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.4458, allocations: 55.7 kB / 0.5698 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.446, allocations: 123.4 kB / 0.5699 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006005/0.4521, allocations: 1.722 MB / 0.5716 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4521, allocations: 0 / 0.5716 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4521, allocations: 0 / 0.5716 GB, free: 7.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4521, allocations: 0 / 0.5716 GB, free: 7.719 MB / 430.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.002383/0.4545, allocations: 0.9917 MB / 0.5725 GB, free: 6.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4546, allocations: 8.031 kB / 0.5725 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.4547, allocations: 62.73 kB / 0.5726 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006047/0.4553, allocations: 88.72 kB / 0.5727 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4557, allocations: 244 kB / 0.5729 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.4557, allocations: 20.94 kB / 0.5729 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.4557, allocations: 24.38 kB / 0.573 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.4568, allocations: 493.4 kB / 0.5734 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4568, allocations: 0 / 0.5734 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.4568, allocations: 12 kB / 0.5734 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4568, allocations: 8 kB / 0.5734 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.4581, allocations: 0.6812 MB / 0.5741 GB, free: 4.973 MB / 430.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.006725/0.4648, allocations: 3.144 MB / 0.5772 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.4655, allocations: 216.2 kB / 0.5774 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.4656, allocations: 73.39 kB / 0.5775 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08684/0.5525, allocations: 33.65 MB / 0.6103 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.5534, allocations: 350.5 kB / 0.6107 GB, free: 12.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/0.5534, allocations: 0 / 0.6107 GB, free: 12.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002769/0.5562, allocations: 0.881 MB / 0.6115 GB, free: 11.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000284/0.5565, allocations: 478.6 kB / 0.612 GB, free: 10.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.5566, allocations: 156.3 kB / 0.6121 GB, free: 10.79 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.5567, allocations: 37.7 kB / 0.6122 GB, free: 10.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5568, allocations: 172.3 kB / 0.6123 GB, free: 10.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.5569, allocations: 126.9 kB / 0.6124 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.5571, allocations: 98.19 kB / 0.6125 GB, free: 10.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5572, allocations: 326.8 kB / 0.6129 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.5574, allocations: 65.08 kB / 0.6129 GB, free: 9.957 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.5577, allocations: 314.1 kB / 0.6132 GB, free: 9.531 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.5583, allocations: 432.1 kB / 0.6136 GB, free: 8.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5583, allocations: 4 kB / 0.6136 GB, free: 8.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007152/0.559, allocations: 409.4 kB / 0.614 GB, free: 8.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5591, allocations: 8.188 kB / 0.614 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5591, allocations: 12 kB / 0.614 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.5591, allocations: 12 kB / 0.614 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.561, allocations: 351.5 kB / 0.6144 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007393/0.5617, allocations: 1.188 MB / 0.6155 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5619, allocations: 24.12 kB / 0.6156 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.562, allocations: 31.98 kB / 0.6156 GB, free: 6.918 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.5622, allocations: 153.7 kB / 0.6157 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.5623, allocations: 27.86 kB / 0.6158 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.5636, allocations: 0.9456 MB / 0.6167 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5636, allocations: 11.98 kB / 0.6167 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5636, allocations: 0 / 0.6167 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5637, allocations: 4 kB / 0.6167 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.5653, allocations: 1.43 MB / 0.6181 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5653, allocations: 4 kB / 0.6181 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.5663, allocations: 143.9 kB / 0.6182 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5664, allocations: 4 kB / 0.6183 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5664, allocations: 11.98 kB / 0.6183 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/0.5667, allocations: 0.5898 MB / 0.6188 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5668, allocations: 0 / 0.6188 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.5674, allocations: 0.5269 MB / 0.6194 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.5675, allocations: 108.8 kB / 0.6195 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.5676, allocations: 51.5 kB / 0.6195 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.5679, allocations: 15.98 kB / 0.6195 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5679, allocations: 23.92 kB / 0.6195 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.568, allocations: 11.98 kB / 0.6196 GB, free: 2.598 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000314/0.5683, allocations: 279.1 kB / 0.6198 GB, free: 2.324 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5683, allocations: 0 / 0.6198 GB, free: 2.324 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5697, allocations: 462.6 kB / 0.6203 GB, free: 1.871 MB / 478.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002428/0.5722, allocations: 1.656 MB / 0.6219 GB, free: 156 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.5738, allocations: 406.4 kB / 0.6223 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5738, allocations: 0 / 0.6223 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.5746, allocations: 227.2 kB / 0.6225 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.5755, allocations: 125.9 kB / 0.6226 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.264/1.839, allocations: 0.54 GB / 1.163 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/1.84, allocations: 0.8274 MB / 1.163 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003892/1.84, allocations: 165.4 kB / 1.164 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.84, allocations: 159.4 kB / 1.164 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of SimCode: time 1.303e-06/1.84, allocations: 0 / 1.164 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3618/2.202, allocations: 20.19 MB / 1.183 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/15.14, allocations: 9.656 kB / 1.183 GB, free: 220.8 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches