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.001633/0.001633, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 76.3 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1393, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01598/0.1553, allocations: 11.29 MB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.1705, allocations: 11.73 MB / 0.4908 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.1708, allocations: 0 / 0.4908 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.1713, allocations: 59.67 kB / 0.4909 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.1826, allocations: 2.774 MB / 0.4936 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.1831, allocations: 150.4 kB / 0.4937 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00653/0.1896, allocations: 4.188 MB / 0.4978 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.153e-05/0.1897, allocations: 24.39 kB / 0.4979 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.19, allocations: 135.5 kB / 0.498 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2999/0.4899, allocations: 7.722 MB / 0.5055 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.4901, allocations: 7.875 kB / 0.5055 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00768/0.4977, allocations: 2.387 MB / 0.5079 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.4979, allocations: 49.27 kB / 0.5079 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.4982, allocations: 125.1 kB / 0.508 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006139/0.5043, allocations: 1.733 MB / 0.5097 GB, free: 23.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5043, allocations: 0 / 0.5097 GB, free: 23.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5043, allocations: 0 / 0.5097 GB, free: 23.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.5044, allocations: 0 / 0.5097 GB, free: 23.59 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.003084/0.5074, allocations: 0.9633 MB / 0.5107 GB, free: 23.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.491e-05/0.5075, allocations: 12.12 kB / 0.5107 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.5077, allocations: 63.16 kB / 0.5107 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.5083, allocations: 78.7 kB / 0.5108 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.5086, allocations: 244.8 kB / 0.511 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.5087, allocations: 18.75 kB / 0.5111 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.5087, allocations: 33.44 kB / 0.5111 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.5099, allocations: 482.9 kB / 0.5116 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5099, allocations: 0 / 0.5116 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.5099, allocations: 11.86 kB / 0.5116 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.51, allocations: 10.78 kB / 0.5116 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.5113, allocations: 0.6863 MB / 0.5122 GB, free: 22.63 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.007416/0.5187, allocations: 3.135 MB / 0.5153 GB, free: 20.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.5194, allocations: 215.6 kB / 0.5155 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.5196, allocations: 74.62 kB / 0.5156 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0849/0.6045, allocations: 33.63 MB / 0.5484 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.6057, allocations: 345.2 kB / 0.5488 GB, free: 12.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 6.362e-06/0.6057, allocations: 4 kB / 0.5488 GB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003465/0.6092, allocations: 0.8624 MB / 0.5496 GB, free: 12.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002952/0.6095, allocations: 482.4 kB / 0.5501 GB, free: 11.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.6097, allocations: 151.8 kB / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.6098, allocations: 33.7 kB / 0.5502 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.61, allocations: 162.6 kB / 0.5504 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.6101, allocations: 128.9 kB / 0.5505 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.6103, allocations: 94.14 kB / 0.5506 GB, free: 10.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6104, allocations: 330.8 kB / 0.5509 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6106, allocations: 65.08 kB / 0.551 GB, free: 10.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.6109, allocations: 315.3 kB / 0.5513 GB, free: 10.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.6116, allocations: 432.6 kB / 0.5517 GB, free: 9.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.6116, allocations: 4 kB / 0.5517 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000872/0.6125, allocations: 409.5 kB / 0.5521 GB, free: 9.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6125, allocations: 11.66 kB / 0.5521 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.6125, allocations: 8 kB / 0.5521 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.6126, allocations: 12 kB / 0.5521 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.6146, allocations: 343 kB / 0.5524 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008327/0.6154, allocations: 1.193 MB / 0.5536 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.6158, allocations: 19.84 kB / 0.5536 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.6159, allocations: 39.92 kB / 0.5537 GB, free: 7.582 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.0002142/0.6161, allocations: 152 kB / 0.5538 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.6162, allocations: 28 kB / 0.5538 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.6177, allocations: 0.9593 MB / 0.5548 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.6177, allocations: 7.984 kB / 0.5548 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.6178, allocations: 0 / 0.5548 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6178, allocations: 4 kB / 0.5548 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.6197, allocations: 1.429 MB / 0.5562 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6197, allocations: 4 kB / 0.5562 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6208, allocations: 143.4 kB / 0.5563 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.6209, allocations: 4 kB / 0.5563 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.6209, allocations: 15.27 kB / 0.5563 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/0.6213, allocations: 0.5899 MB / 0.5569 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6213, allocations: 3.094 kB / 0.5569 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.622, allocations: 0.5206 MB / 0.5574 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6222, allocations: 104.8 kB / 0.5575 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.6223, allocations: 47.41 kB / 0.5576 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.6226, allocations: 21.61 kB / 0.5576 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.6226, allocations: 27.27 kB / 0.5576 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.6227, allocations: 11.98 kB / 0.5576 GB, free: 3.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003296/0.623, allocations: 275.1 kB / 0.5579 GB, free: 3.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.623, allocations: 4 kB / 0.5579 GB, free: 3.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002432/0.6255, allocations: 455.6 kB / 0.5583 GB, free: 2.594 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.003922/0.6294, allocations: 1.642 MB / 0.5599 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.6311, allocations: 408.2 kB / 0.5603 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6311, allocations: 0 / 0.5603 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.632, allocations: 231.9 kB / 0.5605 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.6329, allocations: 127.7 kB / 0.5607 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.465/2.098, allocations: 0.5401 GB / 1.101 GB, free: 196 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/2.099, allocations: 0.8252 MB / 1.102 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006222/2.099, allocations: 173.8 kB / 1.102 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/2.099, allocations: 158.7 kB / 1.102 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/2.099, allocations: 0 / 1.102 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/2.145, allocations: 20 MB / 1.121 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/2.145, allocations: 260.8 kB / 1.122 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/4.979, allocations: 0 / 1.122 GB, free: 185.5 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