Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.66 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1178, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4376/0.5555, allocations: 136.1 MB / 0.5913 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.5609, allocations: 4.715 MB / 0.5959 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.5612, allocations: 0 / 0.5959 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.5617, allocations: 63.61 kB / 0.596 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.5639, allocations: 0.7267 MB / 0.5967 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.5642, allocations: 157 kB / 0.5968 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.5648, allocations: 371 kB / 0.5972 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.5649, allocations: 17.69 kB / 0.5972 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.5653, allocations: 155.4 kB / 0.5973 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.5656, allocations: 191.4 kB / 0.5975 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.5657, allocations: 8 kB / 0.5975 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.5671, allocations: 0.6902 MB / 0.5982 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.5672, allocations: 39.83 kB / 0.5982 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.5674, allocations: 111.5 kB / 0.5983 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.5685, allocations: 461.1 kB / 0.5988 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5685, allocations: 0 / 0.5988 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5685, allocations: 0 / 0.5988 GB, free: 0.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.5685, allocations: 0 / 0.5988 GB, free: 0.832 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001347/0.5699, allocations: 0.5977 MB / 0.5994 GB, free: 192 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5699, allocations: 12.03 kB / 0.5994 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.257e-05/0.57, allocations: 54.73 kB / 0.5994 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.5702, allocations: 28.73 kB / 0.5995 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.5705, allocations: 236 kB / 0.5997 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.5707, allocations: 123.9 kB / 0.5998 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.5707, allocations: 24.31 kB / 0.5998 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.5713, allocations: 322.8 kB / 0.6001 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5713, allocations: 3.938 kB / 0.6001 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.5713, allocations: 12 kB / 0.6001 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.5714, allocations: 4 kB / 0.6001 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.5723, allocations: 0.743 MB / 0.6009 GB, free: 14.54 MB / 446.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.001349/0.5736, allocations: 1.222 MB / 0.6021 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.5741, allocations: 175.7 kB / 0.6022 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.5742, allocations: 89.41 kB / 0.6023 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/0.5768, allocations: 2.695 MB / 0.605 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.5769, allocations: 42.56 kB / 0.605 GB, free: 9.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.5769, allocations: 0 / 0.605 GB, free: 9.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006693/0.5776, allocations: 219.7 kB / 0.6052 GB, free: 9.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.5776, allocations: 51.41 kB / 0.6053 GB, free: 9.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.5779, allocations: 219 kB / 0.6055 GB, free: 9.176 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5779, allocations: 25.7 kB / 0.6055 GB, free: 9.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.5781, allocations: 222.7 kB / 0.6057 GB, free: 8.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.5782, allocations: 51.36 kB / 0.6057 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.5783, allocations: 82.03 kB / 0.6058 GB, free: 8.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5784, allocations: 326.8 kB / 0.6061 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5785, allocations: 48.84 kB / 0.6062 GB, free: 8.406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.5788, allocations: 335.8 kB / 0.6065 GB, free: 7.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.5792, allocations: 438 kB / 0.6069 GB, free: 7.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5793, allocations: 0 / 0.6069 GB, free: 7.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005636/0.5798, allocations: 381.5 kB / 0.6073 GB, free: 6.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5798, allocations: 8 kB / 0.6073 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5799, allocations: 12 kB / 0.6073 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5799, allocations: 15.94 kB / 0.6073 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.5802, allocations: 115.8 kB / 0.6074 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.5802, allocations: 15.94 kB / 0.6074 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.5805, allocations: 17.38 kB / 0.6075 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.5805, allocations: 31.94 kB / 0.6075 GB, free: 6.785 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001313/0.5806, allocations: 157.8 kB / 0.6076 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.5807, allocations: 19.81 kB / 0.6077 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.5811, allocations: 159.7 kB / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.5811, allocations: 0 / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5811, allocations: 0 / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5811, allocations: 0 / 0.6078 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.5817, allocations: 440 kB / 0.6082 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5817, allocations: 0 / 0.6082 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.5819, allocations: 27.98 kB / 0.6083 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5819, allocations: 0 / 0.6083 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5819, allocations: 8.875 kB / 0.6083 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5819, allocations: 4.062 kB / 0.6083 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5819, allocations: 3.984 kB / 0.6083 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.5822, allocations: 224.9 kB / 0.6085 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.5824, allocations: 104.8 kB / 0.6086 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.5824, allocations: 7.875 kB / 0.6086 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.5826, allocations: 19.11 kB / 0.6086 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.5826, allocations: 11.98 kB / 0.6086 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.5827, allocations: 4 kB / 0.6086 GB, free: 5.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.5828, allocations: 152.5 kB / 0.6088 GB, free: 5.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5828, allocations: 0 / 0.6088 GB, free: 5.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000492/0.5833, allocations: 88 kB / 0.6089 GB, free: 5.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007809/0.5841, allocations: 0.8082 MB / 0.6097 GB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.5845, allocations: 198.2 kB / 0.6098 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5845, allocations: 0 / 0.6098 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.5845, allocations: 31.92 kB / 0.6099 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.585, allocations: 42.78 kB / 0.6099 GB, free: 4.164 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.5883, allocations: 2.71 MB / 0.6126 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5887, allocations: 0.7285 MB / 0.6133 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.5891, allocations: 62.81 kB / 0.6133 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.5892, allocations: 59.42 kB / 0.6134 GB, free: 220 kB / 446.1 MB Notification: Performance of SimCode: time 2.164e-06/0.5892, allocations: 0 / 0.6134 GB, free: 220 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.614, allocations: 5.225 MB / 0.6185 GB, free: 11.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.237, allocations: 7.984 kB / 0.6185 GB, free: 11.08 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_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_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches