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.0008124/0.0008125, allocations: 92.67 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 204.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 12 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01362/0.1481, allocations: 11.03 MB / 494.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.1624, allocations: 11.83 MB / 0.4942 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.1627, allocations: 3.938 kB / 0.4942 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.1631, allocations: 63.67 kB / 0.4942 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.1736, allocations: 2.64 MB / 0.4968 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.1741, allocations: 147.3 kB / 0.497 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006778/0.1808, allocations: 4.137 MB / 0.501 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.181, allocations: 20.41 kB / 0.501 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.1813, allocations: 143.4 kB / 0.5012 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2858/0.4671, allocations: 7.554 MB / 0.5085 GB, free: 22.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.4672, allocations: 6.875 kB / 0.5085 GB, free: 22.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00755/0.4748, allocations: 2.368 MB / 0.5109 GB, free: 22.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.4749, allocations: 47.03 kB / 0.5109 GB, free: 22.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.4752, allocations: 147.4 kB / 0.511 GB, free: 22.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.4799, allocations: 1.708 MB / 0.5127 GB, free: 22.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4799, allocations: 4 kB / 0.5127 GB, free: 22.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4799, allocations: 0 / 0.5127 GB, free: 22.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.4799, allocations: 4.812 kB / 0.5127 GB, free: 22.2 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002591/0.4825, allocations: 0.9007 MB / 0.5136 GB, free: 21.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.4826, allocations: 13.72 kB / 0.5136 GB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.4827, allocations: 64.27 kB / 0.5137 GB, free: 21.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005927/0.4833, allocations: 81.19 kB / 0.5137 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.4836, allocations: 242.2 kB / 0.514 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.4837, allocations: 23.67 kB / 0.514 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.4837, allocations: 24.59 kB / 0.514 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.4847, allocations: 483.2 kB / 0.5145 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4847, allocations: 0 / 0.5145 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.4848, allocations: 14.88 kB / 0.5145 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4848, allocations: 7 kB / 0.5145 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4859, allocations: 0.6832 MB / 0.5152 GB, free: 21.24 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.006432/0.4924, allocations: 3.118 MB / 0.5182 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.4931, allocations: 213.2 kB / 0.5184 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4933, allocations: 75.19 kB / 0.5185 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07668/0.57, allocations: 33.49 MB / 0.5512 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.5709, allocations: 343.1 kB / 0.5515 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.526e-06/0.5709, allocations: 0 / 0.5515 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002897/0.5738, allocations: 0.8632 MB / 0.5524 GB, free: 9.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.5741, allocations: 487.7 kB / 0.5528 GB, free: 9.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.5742, allocations: 152.9 kB / 0.553 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.5743, allocations: 32.14 kB / 0.553 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5744, allocations: 169.8 kB / 0.5532 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.5745, allocations: 126 kB / 0.5533 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.5746, allocations: 38.7 kB / 0.5533 GB, free: 8.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5748, allocations: 327.2 kB / 0.5536 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.5749, allocations: 67.08 kB / 0.5537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.5752, allocations: 313.6 kB / 0.554 GB, free: 8.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.5757, allocations: 437 kB / 0.5544 GB, free: 7.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5757, allocations: 4 kB / 0.5544 GB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007464/0.5764, allocations: 408.1 kB / 0.5548 GB, free: 7.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.5765, allocations: 8 kB / 0.5548 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.5765, allocations: 8 kB / 0.5548 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5765, allocations: 12 kB / 0.5548 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.5783, allocations: 271.1 kB / 0.5551 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000685/0.579, allocations: 1.185 MB / 0.5563 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.5793, allocations: 27.53 kB / 0.5563 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.5794, allocations: 34.55 kB / 0.5563 GB, free: 5.828 MB / 398.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.000189/0.5796, allocations: 155.8 kB / 0.5565 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.5796, allocations: 23.81 kB / 0.5565 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.5811, allocations: 0.9501 MB / 0.5574 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5811, allocations: 7.984 kB / 0.5574 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5811, allocations: 4.219 kB / 0.5574 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5811, allocations: 9.078 kB / 0.5574 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.5828, allocations: 1.422 MB / 0.5588 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.5828, allocations: 6.078 kB / 0.5588 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5839, allocations: 143.3 kB / 0.559 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.5839, allocations: 4 kB / 0.559 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.5839, allocations: 11.98 kB / 0.559 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003153/0.5842, allocations: 0.5887 MB / 0.5596 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.5843, allocations: 4.031 kB / 0.5596 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.5849, allocations: 0.5172 MB / 0.5601 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.5851, allocations: 220 kB / 0.5603 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.5852, allocations: 11.94 kB / 0.5603 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.5855, allocations: 19.98 kB / 0.5603 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.5856, allocations: 29.72 kB / 0.5603 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.5856, allocations: 12 kB / 0.5603 GB, free: 1.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003604/0.586, allocations: 271.1 kB / 0.5606 GB, free: 1.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.586, allocations: 0 / 0.5606 GB, free: 1.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002054/0.588, allocations: 465.5 kB / 0.561 GB, free: 1.07 MB / 398.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.003608/0.5916, allocations: 1.64 MB / 0.5626 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.5932, allocations: 394 kB / 0.563 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5932, allocations: 0 / 0.563 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.594, allocations: 230.2 kB / 0.5632 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.595, allocations: 118.5 kB / 0.5634 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.49/2.085, allocations: 0.5382 GB / 1.102 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/2.085, allocations: 0.8292 MB / 1.102 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005417/2.086, allocations: 166.7 kB / 1.103 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/2.086, allocations: 164.2 kB / 1.103 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/2.086, allocations: 0 / 1.103 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/2.123, allocations: 19.64 MB / 1.122 GB, free: 186 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/2.124, allocations: 260.3 kB / 1.122 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/4.704, allocations: 5.859 kB / 1.122 GB, free: 185.7 MB / 0.5294 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