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.001616/0.001616, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001737/0.001737, allocations: 175.1 kB / 18.71 MB, free: 4.363 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2096/0.2096, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3195, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1628/0.4822, allocations: 136.5 MB / 0.6518 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005541/0.4878, allocations: 4.711 MB / 0.6564 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4879, allocations: 4 kB / 0.6564 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.4883, allocations: 59.58 kB / 0.6564 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.4903, allocations: 0.7267 MB / 0.6572 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.4907, allocations: 167.1 kB / 0.6573 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.4912, allocations: 374.2 kB / 0.6577 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.4913, allocations: 13.62 kB / 0.6577 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.4915, allocations: 151.5 kB / 0.6578 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4918, allocations: 187.4 kB / 0.658 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.4918, allocations: 8 kB / 0.658 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4931, allocations: 0.6902 MB / 0.6587 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.4932, allocations: 51.75 kB / 0.6587 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4933, allocations: 107.5 kB / 0.6588 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.4941, allocations: 462.3 kB / 0.6593 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4941, allocations: 0 / 0.6593 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4941, allocations: 0 / 0.6593 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4941, allocations: 0 / 0.6593 GB, free: 11.38 MB / 0.5137 GB 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.001052/0.4951, allocations: 0.6066 MB / 0.6599 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4952, allocations: 12.03 kB / 0.6599 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.4952, allocations: 54.73 kB / 0.6599 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4954, allocations: 32.8 kB / 0.66 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.4957, allocations: 232 kB / 0.6602 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.4959, allocations: 131.9 kB / 0.6603 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.4959, allocations: 28.12 kB / 0.6603 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.4964, allocations: 314.8 kB / 0.6606 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4964, allocations: 3.938 kB / 0.6607 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.4965, allocations: 12 kB / 0.6607 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4965, allocations: 12 kB / 0.6607 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008459/0.4973, allocations: 0.7352 MB / 0.6614 GB, free: 9.07 MB / 0.5137 GB 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.001359/0.4987, allocations: 1.222 MB / 0.6626 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.4991, allocations: 163.7 kB / 0.6627 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4992, allocations: 85.47 kB / 0.6628 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002487/0.5017, allocations: 2.699 MB / 0.6655 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.5018, allocations: 38.56 kB / 0.6655 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.5018, allocations: 0 / 0.6655 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006171/0.5024, allocations: 220.9 kB / 0.6657 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5024, allocations: 55.41 kB / 0.6658 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.5026, allocations: 222.9 kB / 0.666 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.5026, allocations: 29.64 kB / 0.666 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5028, allocations: 223.6 kB / 0.6662 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.5028, allocations: 55.53 kB / 0.6663 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5029, allocations: 90.03 kB / 0.6664 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5031, allocations: 326.8 kB / 0.6667 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.5032, allocations: 48.83 kB / 0.6667 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.5035, allocations: 331.8 kB / 0.667 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.504, allocations: 438 kB / 0.6674 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.504, allocations: 4 kB / 0.6674 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005734/0.5046, allocations: 385.8 kB / 0.6678 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5046, allocations: 8 kB / 0.6678 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5046, allocations: 12 kB / 0.6678 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.5046, allocations: 15.94 kB / 0.6679 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.5049, allocations: 107.8 kB / 0.668 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.505, allocations: 23.92 kB / 0.668 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5052, allocations: 12 kB / 0.668 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.5052, allocations: 31.94 kB / 0.668 GB, free: 1.309 MB / 0.5137 GB 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.0001362/0.5053, allocations: 149.8 kB / 0.6682 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.5054, allocations: 23.86 kB / 0.6682 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.5057, allocations: 151.8 kB / 0.6683 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.5057, allocations: 0 / 0.6683 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5057, allocations: 0 / 0.6683 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5057, allocations: 7.984 kB / 0.6683 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.5063, allocations: 447.9 kB / 0.6688 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5063, allocations: 0 / 0.6688 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.5064, allocations: 31.98 kB / 0.6688 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5064, allocations: 0 / 0.6688 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.5064, allocations: 0 / 0.6688 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.5065, allocations: 4 kB / 0.6688 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5065, allocations: 0 / 0.6688 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.5067, allocations: 229 kB / 0.669 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.5068, allocations: 105 kB / 0.6691 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.5069, allocations: 0 / 0.6691 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.5071, allocations: 12 kB / 0.6691 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.5071, allocations: 11.98 kB / 0.6691 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.5071, allocations: 15.98 kB / 0.6692 GB, free: 16 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001392/0.5073, allocations: 144.5 kB / 0.6693 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5073, allocations: 0 / 0.6693 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004686/0.5077, allocations: 91.92 kB / 0.6694 GB, free: 15.79 MB / 0.5294 GB 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.0007058/0.5084, allocations: 0.8306 MB / 0.6702 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.5087, allocations: 166.1 kB / 0.6703 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5088, allocations: 8.188 kB / 0.6704 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.5088, allocations: 31.92 kB / 0.6704 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.5092, allocations: 44.39 kB / 0.6704 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.5122, allocations: 2.711 MB / 0.6731 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.5125, allocations: 0.7361 MB / 0.6738 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.5127, allocations: 54.83 kB / 0.6738 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.5128, allocations: 63.41 kB / 0.6739 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5128, allocations: 0 / 0.6739 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5398, allocations: 5.31 MB / 0.6791 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.401, allocations: 4 kB / 0.6791 GB, free: 5.52 MB / 0.5294 GB (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