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.001639/0.001639, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001988, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 82.11 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01213/0.1242, allocations: 11.28 MB / 491.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.136, allocations: 11.77 MB / 0.4914 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1363, allocations: 0 / 0.4914 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1366, allocations: 75.5 kB / 0.4915 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008129/0.1447, allocations: 3.121 MB / 0.4945 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.1451, allocations: 151 kB / 0.4947 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005441/0.1506, allocations: 3.901 MB / 0.4985 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.1507, allocations: 16.41 kB / 0.4985 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1508, allocations: 139.5 kB / 0.4986 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2042/0.355, allocations: 7.125 MB / 0.5056 GB, free: 23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.3551, allocations: 8.25 kB / 0.5056 GB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005204/0.3603, allocations: 2.074 MB / 0.5076 GB, free: 23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3605, allocations: 43 kB / 0.5077 GB, free: 23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.3607, allocations: 128.2 kB / 0.5078 GB, free: 23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.3652, allocations: 1.533 MB / 0.5093 GB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3653, allocations: 3.812 kB / 0.5093 GB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3653, allocations: 1.781 kB / 0.5093 GB, free: 22.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3653, allocations: 4 kB / 0.5093 GB, free: 22.95 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.002378/0.3677, allocations: 0.9199 MB / 0.5102 GB, free: 22.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3677, allocations: 11.36 kB / 0.5102 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.3678, allocations: 73.19 kB / 0.5103 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.3684, allocations: 78.41 kB / 0.5103 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.3686, allocations: 244 kB / 0.5106 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3687, allocations: 20.98 kB / 0.5106 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.3687, allocations: 24.59 kB / 0.5106 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.3696, allocations: 486.4 kB / 0.5111 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3697, allocations: 3.75 kB / 0.5111 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3697, allocations: 15.48 kB / 0.5111 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3697, allocations: 6.531 kB / 0.5111 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.3711, allocations: 0.678 MB / 0.5118 GB, free: 22.01 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.00646/0.3776, allocations: 3.105 MB / 0.5148 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.3782, allocations: 213 kB / 0.515 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3784, allocations: 79.45 kB / 0.5151 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07481/0.4532, allocations: 30.76 MB / 0.5451 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.4539, allocations: 352 kB / 0.5454 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.565e-06/0.454, allocations: 0 / 0.5454 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003183/0.4572, allocations: 0.9697 MB / 0.5464 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002759/0.4574, allocations: 485.5 kB / 0.5469 GB, free: 14.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4576, allocations: 151.7 kB / 0.547 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4577, allocations: 33.27 kB / 0.547 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4578, allocations: 169.6 kB / 0.5472 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4579, allocations: 125.6 kB / 0.5473 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.4581, allocations: 95.86 kB / 0.5474 GB, free: 14.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4582, allocations: 332.3 kB / 0.5477 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4584, allocations: 73.58 kB / 0.5478 GB, free: 13.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.4588, allocations: 321.9 kB / 0.5481 GB, free: 13.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.4594, allocations: 447.2 kB / 0.5485 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4594, allocations: 5.562 kB / 0.5485 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007551/0.4601, allocations: 447.6 kB / 0.549 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4602, allocations: 8 kB / 0.549 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4602, allocations: 8 kB / 0.549 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.4622, allocations: 326 kB / 0.5493 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.4625, allocations: 107 kB / 0.5494 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007215/0.4632, allocations: 1.218 MB / 0.5506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4635, allocations: 21.06 kB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.4636, allocations: 39.92 kB / 0.5506 GB, free: 10.76 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.0002019/0.4638, allocations: 155.9 kB / 0.5508 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4639, allocations: 39.7 kB / 0.5508 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.4654, allocations: 1.043 MB / 0.5518 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4655, allocations: 10.73 kB / 0.5519 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.4655, allocations: 7.938 kB / 0.5519 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4655, allocations: 7.984 kB / 0.5519 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.4673, allocations: 1.539 MB / 0.5534 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4674, allocations: 3.938 kB / 0.5534 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.4675, allocations: 48.22 kB / 0.5534 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4688, allocations: 248.2 kB / 0.5537 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4688, allocations: 7.984 kB / 0.5537 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009709/0.4698, allocations: 1.269 MB / 0.5549 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4698, allocations: 4 kB / 0.5549 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.4706, allocations: 0.6059 MB / 0.5555 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.4707, allocations: 100.8 kB / 0.5556 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.4708, allocations: 55.31 kB / 0.5556 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.471, allocations: 8 kB / 0.5557 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4711, allocations: 23.97 kB / 0.5557 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.4711, allocations: 15.98 kB / 0.5557 GB, free: 5.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003014/0.4714, allocations: 275.1 kB / 0.556 GB, free: 5.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4714, allocations: 0 / 0.556 GB, free: 5.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00205/0.4735, allocations: 441.6 kB / 0.5564 GB, free: 4.629 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.002752/0.4762, allocations: 1.7 MB / 0.558 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007133/0.477, allocations: 381 kB / 0.5584 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.477, allocations: 4 kB / 0.5584 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.4773, allocations: 231.9 kB / 0.5586 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.4781, allocations: 126 kB / 0.5587 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.139/1.617, allocations: 0.4949 GB / 1.054 GB, free: 60.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/1.617, allocations: 0.8281 MB / 1.054 GB, free: 59.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007424/1.618, allocations: 165.5 kB / 1.055 GB, free: 59.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/1.618, allocations: 164.4 kB / 1.055 GB, free: 59.48 MB / 0.5294 GB Notification: Performance of SimCode: time 1.733e-06/1.618, allocations: 0 / 1.055 GB, free: 59.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04479/1.663, allocations: 19.91 MB / 1.074 GB, free: 39.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.74, allocations: 14.02 kB / 1.074 GB, free: 39.8 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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