Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, 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.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3695, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01414/0.3837, allocations: 11.28 MB / 0.5416 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3964, allocations: 11.78 MB / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3967, allocations: 7.938 kB / 0.5531 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3971, allocations: 67.55 kB / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.4084, allocations: 3.12 MB / 0.5562 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.4089, allocations: 153.2 kB / 0.5563 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005593/0.4145, allocations: 3.897 MB / 0.5602 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.4146, allocations: 24.28 kB / 0.5602 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.4148, allocations: 139.6 kB / 0.5603 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008985/0.4238, allocations: 7.122 MB / 0.5673 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.4239, allocations: 11.94 kB / 0.5673 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005316/0.4292, allocations: 2.131 MB / 0.5694 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4293, allocations: 43.83 kB / 0.5694 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.4295, allocations: 123.4 kB / 0.5695 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00384/0.4334, allocations: 1.551 MB / 0.571 GB, free: 8.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4334, allocations: 4 kB / 0.571 GB, free: 8.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4334, allocations: 0 / 0.571 GB, free: 8.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.4334, allocations: 0 / 0.571 GB, free: 8.238 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.002171/0.4356, allocations: 0.9413 MB / 0.572 GB, free: 7.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4357, allocations: 19.97 kB / 0.572 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.4358, allocations: 66.66 kB / 0.572 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.4364, allocations: 76.73 kB / 0.5721 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4368, allocations: 244.1 kB / 0.5723 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.4368, allocations: 24.88 kB / 0.5724 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.4368, allocations: 24.38 kB / 0.5724 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009945/0.4378, allocations: 497.3 kB / 0.5729 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4379, allocations: 0 / 0.5729 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4379, allocations: 12 kB / 0.5729 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4379, allocations: 4 kB / 0.5729 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.439, allocations: 0.6851 MB / 0.5735 GB, free: 5.531 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.007052/0.4461, allocations: 4.304 MB / 0.5777 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.4466, allocations: 167.1 kB / 0.5779 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4468, allocations: 61.53 kB / 0.578 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02812/0.4749, allocations: 16.41 MB / 0.594 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007184/0.4756, allocations: 323.5 kB / 0.5943 GB, free: 13.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.976e-06/0.4757, allocations: 0 / 0.5943 GB, free: 13.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001374/0.477, allocations: 442.6 kB / 0.5947 GB, free: 13.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/0.4773, allocations: 478.8 kB / 0.5952 GB, free: 12.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.4774, allocations: 190 kB / 0.5954 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4775, allocations: 33.7 kB / 0.5954 GB, free: 12.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4776, allocations: 184.2 kB / 0.5956 GB, free: 12.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.4777, allocations: 103.1 kB / 0.5957 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4778, allocations: 90.08 kB / 0.5958 GB, free: 11.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4779, allocations: 330.8 kB / 0.5961 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.478, allocations: 68.83 kB / 0.5961 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.4783, allocations: 310.8 kB / 0.5964 GB, free: 11.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.4788, allocations: 428.9 kB / 0.5968 GB, free: 10.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4788, allocations: 3.938 kB / 0.5968 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006377/0.4795, allocations: 405.7 kB / 0.5972 GB, free: 10.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4795, allocations: 8 kB / 0.5972 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4795, allocations: 8 kB / 0.5972 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.4796, allocations: 12 kB / 0.5973 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.4799, allocations: 103.8 kB / 0.5974 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.4799, allocations: 19.92 kB / 0.5974 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.4801, allocations: 52.11 kB / 0.5974 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.4802, allocations: 32 kB / 0.5975 GB, free: 9.977 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.4803, allocations: 161.6 kB / 0.5976 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.4804, allocations: 23.86 kB / 0.5976 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.4814, allocations: 0.7926 MB / 0.5984 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4814, allocations: 4.219 kB / 0.5984 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4814, allocations: 11.94 kB / 0.5984 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4814, allocations: 3.938 kB / 0.5984 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.4826, allocations: 1.21 MB / 0.5996 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4826, allocations: 0 / 0.5996 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4827, allocations: 39.91 kB / 0.5996 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.4827, allocations: 12.03 kB / 0.5997 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4827, allocations: 8 kB / 0.5997 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4828, allocations: 4 kB / 0.5997 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4828, allocations: 4 kB / 0.5997 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.4832, allocations: 372.7 kB / 0.6 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.4832, allocations: 104.8 kB / 0.6001 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.4833, allocations: 55.48 kB / 0.6002 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.4836, allocations: 12 kB / 0.6002 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.4836, allocations: 15.98 kB / 0.6002 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4836, allocations: 11.98 kB / 0.6002 GB, free: 6.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.4839, allocations: 290.9 kB / 0.6005 GB, free: 6.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4839, allocations: 0 / 0.6005 GB, free: 6.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4852, allocations: 434.6 kB / 0.6009 GB, free: 6.18 MB / 462.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/0.487, allocations: 1.457 MB / 0.6023 GB, free: 4.664 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.4875, allocations: 237.4 kB / 0.6026 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4875, allocations: 0 / 0.6026 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.4876, allocations: 84.42 kB / 0.6026 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.4883, allocations: 109.6 kB / 0.6027 GB, free: 4.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.6/2.088, allocations: 0.5821 GB / 1.185 GB, free: 221 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/2.088, allocations: 0.8046 MB / 1.186 GB, free: 220.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004089/2.089, allocations: 172.6 kB / 1.186 GB, free: 220.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/2.089, allocations: 150 kB / 1.186 GB, free: 220.1 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/2.089, allocations: 3.969 kB / 1.186 GB, free: 220.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/2.124, allocations: 18.37 MB / 1.204 GB, free: 204.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/10.92, allocations: 13.83 kB / 1.204 GB, free: 204.1 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_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_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches