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.001203/0.001203, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001257/0.001257, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.284/1.284, allocations: 222.9 MB / 242.4 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.1911/0.1911, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 71.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2988, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1456/0.4445, allocations: 136.1 MB / 0.6514 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005141/0.4496, allocations: 4.711 MB / 0.656 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.4498, allocations: 4 kB / 0.656 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.4502, allocations: 63.59 kB / 0.6561 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.452, allocations: 0.7306 MB / 0.6568 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.4524, allocations: 151.6 kB / 0.6569 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.4529, allocations: 370.2 kB / 0.6573 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.453, allocations: 17.67 kB / 0.6573 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4532, allocations: 151.4 kB / 0.6574 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.4535, allocations: 191.4 kB / 0.6576 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.4535, allocations: 8 kB / 0.6576 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.4547, allocations: 0.6903 MB / 0.6583 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.4548, allocations: 51.75 kB / 0.6583 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4549, allocations: 107.5 kB / 0.6585 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.4557, allocations: 453.2 kB / 0.6589 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4557, allocations: 4 kB / 0.6589 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4557, allocations: 0 / 0.6589 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.4557, allocations: 0 / 0.6589 GB, free: 11.8 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.001173/0.4569, allocations: 0.5969 MB / 0.6595 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4569, allocations: 12.03 kB / 0.6595 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.457, allocations: 58.72 kB / 0.6595 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.4572, allocations: 28.75 kB / 0.6596 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.4575, allocations: 232 kB / 0.6598 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.4576, allocations: 119.9 kB / 0.6599 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.4577, allocations: 28.12 kB / 0.6599 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.4581, allocations: 334.8 kB / 0.6602 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4581, allocations: 0 / 0.6602 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.4582, allocations: 12 kB / 0.6603 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.4582, allocations: 8 kB / 0.6603 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.4589, allocations: 0.7391 MB / 0.661 GB, free: 9.496 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.001256/0.4602, allocations: 1.222 MB / 0.6622 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.4606, allocations: 175.7 kB / 0.6623 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.4607, allocations: 89.48 kB / 0.6624 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/0.4629, allocations: 2.695 MB / 0.6651 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.4629, allocations: 34.56 kB / 0.6651 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4629, allocations: 0 / 0.6651 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005857/0.4635, allocations: 224.3 kB / 0.6653 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4636, allocations: 51.41 kB / 0.6654 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.4638, allocations: 219 kB / 0.6656 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.4638, allocations: 29.64 kB / 0.6656 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4639, allocations: 222.7 kB / 0.6658 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.464, allocations: 55.33 kB / 0.6659 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.464, allocations: 78.05 kB / 0.6659 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4642, allocations: 326.8 kB / 0.6662 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.4643, allocations: 56.78 kB / 0.6663 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.4645, allocations: 331.7 kB / 0.6666 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4649, allocations: 438.1 kB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4649, allocations: 0 / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005181/0.4654, allocations: 381.2 kB / 0.6674 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4655, allocations: 8 kB / 0.6674 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4655, allocations: 12 kB / 0.6674 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4655, allocations: 15.94 kB / 0.6674 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4658, allocations: 115.8 kB / 0.6675 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.4659, allocations: 15.94 kB / 0.6676 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.4661, allocations: 20.47 kB / 0.6676 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.4661, allocations: 31.98 kB / 0.6676 GB, free: 1.734 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.0001079/0.4662, allocations: 149.6 kB / 0.6678 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.4663, allocations: 23.8 kB / 0.6678 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.4666, allocations: 155.7 kB / 0.6679 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4666, allocations: 0 / 0.6679 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4666, allocations: 0 / 0.6679 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4666, allocations: 0 / 0.6679 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.4671, allocations: 444 kB / 0.6683 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4671, allocations: 0 / 0.6683 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.4673, allocations: 27.98 kB / 0.6684 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4673, allocations: 3.984 kB / 0.6684 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4673, allocations: 16.06 kB / 0.6684 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4673, allocations: 3.938 kB / 0.6684 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4673, allocations: 0 / 0.6684 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.4675, allocations: 220.9 kB / 0.6686 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.4676, allocations: 100.9 kB / 0.6687 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.4677, allocations: 3.938 kB / 0.6687 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4679, allocations: 19.98 kB / 0.6687 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.4679, allocations: 7.984 kB / 0.6687 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4679, allocations: 4 kB / 0.6687 GB, free: 460 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001112/0.468, allocations: 152.5 kB / 0.6689 GB, free: 308 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.468, allocations: 0 / 0.6689 GB, free: 308 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004402/0.4685, allocations: 88 kB / 0.669 GB, free: 220 kB / 0.5137 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.0006322/0.4691, allocations: 0.8154 MB / 0.6698 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.4694, allocations: 189.2 kB / 0.6699 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4694, allocations: 4 kB / 0.6699 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/0.4695, allocations: 35.92 kB / 0.67 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4699, allocations: 41.69 kB / 0.67 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.4725, allocations: 2.715 MB / 0.6727 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4728, allocations: 0.7283 MB / 0.6734 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.473, allocations: 62.86 kB / 0.6734 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.4731, allocations: 63.36 kB / 0.6735 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.4731, allocations: 0 / 0.6735 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.4958, allocations: 5.341 MB / 0.6787 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.157, allocations: 14.59 kB / 0.6787 GB, free: 5.906 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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