Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009305, allocations: 97.91 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 200.5 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.18 MB / 345.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 8 kB / 419.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 63.56 MB / 483.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.015/0.1444, allocations: 11.03 MB / 494.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.1578, allocations: 11.83 MB / 0.4942 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1581, allocations: 4 kB / 0.4942 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1585, allocations: 59.67 kB / 0.4942 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009789/0.1683, allocations: 2.637 MB / 0.4968 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1688, allocations: 146.4 kB / 0.497 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006398/0.1752, allocations: 4.153 MB / 0.501 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.1753, allocations: 16.41 kB / 0.501 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1754, allocations: 135.5 kB / 0.5012 GB, free: 6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2867/0.4621, allocations: 7.558 MB / 0.5085 GB, free: 22.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.4623, allocations: 10.88 kB / 0.5085 GB, free: 22.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006603/0.4689, allocations: 2.09 MB / 0.5106 GB, free: 22.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.469, allocations: 51.19 kB / 0.5106 GB, free: 22.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.4692, allocations: 147.6 kB / 0.5108 GB, free: 22.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.4731, allocations: 1.53 MB / 0.5123 GB, free: 21.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4731, allocations: 1.5 kB / 0.5123 GB, free: 21.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4731, allocations: 3.281 kB / 0.5123 GB, free: 21.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.4731, allocations: 0 / 0.5123 GB, free: 21.99 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.002075/0.4752, allocations: 0.8609 MB / 0.5131 GB, free: 21.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4753, allocations: 9.844 kB / 0.5131 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.834e-05/0.4754, allocations: 66.95 kB / 0.5132 GB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005491/0.4759, allocations: 78.39 kB / 0.5133 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.4762, allocations: 240.7 kB / 0.5135 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4762, allocations: 21.06 kB / 0.5135 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.4763, allocations: 30.5 kB / 0.5135 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4773, allocations: 489.3 kB / 0.514 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4773, allocations: 1.375 kB / 0.514 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.4773, allocations: 15.67 kB / 0.514 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4773, allocations: 6.875 kB / 0.514 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.4786, allocations: 0.6853 MB / 0.5147 GB, free: 21.05 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.006184/0.4847, allocations: 3.081 MB / 0.5177 GB, free: 19.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.4854, allocations: 220.5 kB / 0.5179 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.4855, allocations: 75.7 kB / 0.518 GB, free: 19.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07412/0.5596, allocations: 30.61 MB / 0.5479 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008883/0.5606, allocations: 346.4 kB / 0.5482 GB, free: 14.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 4.118e-06/0.5606, allocations: 0 / 0.5482 GB, free: 14.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003373/0.564, allocations: 0.9752 MB / 0.5492 GB, free: 13.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/0.5643, allocations: 480.9 kB / 0.5496 GB, free: 12.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.5644, allocations: 155.4 kB / 0.5498 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.5645, allocations: 30.58 kB / 0.5498 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5646, allocations: 164 kB / 0.55 GB, free: 12.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5648, allocations: 132.1 kB / 0.5501 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.5649, allocations: 46.23 kB / 0.5501 GB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.565, allocations: 329.6 kB / 0.5504 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5652, allocations: 72.64 kB / 0.5505 GB, free: 11.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.5656, allocations: 320.8 kB / 0.5508 GB, free: 11.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.5663, allocations: 449.3 kB / 0.5513 GB, free: 10.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5663, allocations: 8 kB / 0.5513 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008148/0.5671, allocations: 437.5 kB / 0.5517 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5672, allocations: 10.44 kB / 0.5517 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.5672, allocations: 8 kB / 0.5517 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.5692, allocations: 311.1 kB / 0.552 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.5696, allocations: 103.2 kB / 0.5521 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/0.5703, allocations: 1.222 MB / 0.5533 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.5706, allocations: 19 kB / 0.5533 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.5707, allocations: 27.94 kB / 0.5533 GB, free: 8.98 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.5709, allocations: 169.3 kB / 0.5535 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.571, allocations: 27.91 kB / 0.5535 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.5725, allocations: 1.057 MB / 0.5545 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.5725, allocations: 7.984 kB / 0.5546 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.5725, allocations: 7.938 kB / 0.5546 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5726, allocations: 0 / 0.5546 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.5744, allocations: 1.546 MB / 0.5561 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.5744, allocations: 10.69 kB / 0.5561 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.5746, allocations: 43.62 kB / 0.5561 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.5759, allocations: 237.6 kB / 0.5564 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.5759, allocations: 12 kB / 0.5564 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007962/0.5767, allocations: 1.268 MB / 0.5576 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5767, allocations: 0 / 0.5576 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.5776, allocations: 0.6166 MB / 0.5582 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.5779, allocations: 212.2 kB / 0.5584 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.578, allocations: 22.59 kB / 0.5584 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.5783, allocations: 12 kB / 0.5584 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.5783, allocations: 27.06 kB / 0.5585 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.5784, allocations: 8 kB / 0.5585 GB, free: 4.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.5787, allocations: 283.1 kB / 0.5587 GB, free: 3.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5787, allocations: 0 / 0.5587 GB, free: 3.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002179/0.5809, allocations: 435.6 kB / 0.5592 GB, free: 3.305 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003578/0.5845, allocations: 1.698 MB / 0.5608 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006785/0.5852, allocations: 359.2 kB / 0.5612 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5852, allocations: 0 / 0.5612 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.5855, allocations: 233.1 kB / 0.5614 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/0.5865, allocations: 126.1 kB / 0.5615 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.156/1.743, allocations: 0.4933 GB / 1.055 GB, free: 60.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/1.743, allocations: 0.8274 MB / 1.056 GB, free: 59.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004259/1.743, allocations: 159.6 kB / 1.056 GB, free: 59.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.743, allocations: 171.4 kB / 1.056 GB, free: 59.69 MB / 0.5294 GB Notification: Performance of SimCode: time 2.114e-06/1.744, allocations: 0 / 1.056 GB, free: 59.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/1.774, allocations: 19.41 MB / 1.075 GB, free: 40.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.774, allocations: 260.5 kB / 1.075 GB, free: 40.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/4.335, allocations: 5.297 kB / 1.075 GB, free: 40.31 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches