Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008945/0.0008944, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008693/0.0008692, allocations: 95.66 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3026/0.3026, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003043, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3079, allocations: 63.09 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1239/0.4318, allocations: 124.8 MB / 0.6433 GB, free: 9.918 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.4371, allocations: 7.152 MB / 0.6502 GB, free: 2.109 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.4373, allocations: 4 kB / 0.6502 GB, free: 2.105 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.4377, allocations: 51.7 kB / 0.6503 GB, free: 2.055 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.4392, allocations: 0.6609 MB / 0.6509 GB, free: 1.391 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.4396, allocations: 151.7 kB / 0.6511 GB, free: 1.242 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.4401, allocations: 454 kB / 0.6515 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.4402, allocations: 13.67 kB / 0.6515 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.4404, allocations: 155.4 kB / 0.6517 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.4407, allocations: 191.4 kB / 0.6519 GB, free: 456 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.4407, allocations: 4 kB / 0.6519 GB, free: 452 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.442, allocations: 0.7057 MB / 0.6526 GB, free: 15.73 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.4421, allocations: 55.73 kB / 0.6526 GB, free: 15.68 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.4422, allocations: 133.2 kB / 0.6527 GB, free: 15.54 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.4429, allocations: 472.9 kB / 0.6532 GB, free: 15.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4429, allocations: 0 / 0.6532 GB, free: 15.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4429, allocations: 0 / 0.6532 GB, free: 15.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.4429, allocations: 0 / 0.6532 GB, free: 15.08 MB / 474.7 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.0008834/0.4438, allocations: 0.5424 MB / 0.6537 GB, free: 14.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4438, allocations: 12.02 kB / 0.6537 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.444, allocations: 32.66 kB / 0.6538 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.4442, allocations: 228 kB / 0.654 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.4443, allocations: 119.9 kB / 0.6541 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.4443, allocations: 24.38 kB / 0.6541 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.4448, allocations: 322.8 kB / 0.6544 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4448, allocations: 7.922 kB / 0.6544 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.4448, allocations: 12 kB / 0.6544 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.4449, allocations: 4 kB / 0.6544 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.4456, allocations: 0.7352 MB / 0.6552 GB, free: 12.92 MB / 474.7 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.001168/0.4468, allocations: 1.23 MB / 0.6564 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.4471, allocations: 171.8 kB / 0.6565 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4472, allocations: 85.42 kB / 0.6566 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002093/0.4493, allocations: 2.703 MB / 0.6592 GB, free: 8.102 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4494, allocations: 34.56 kB / 0.6593 GB, free: 8.059 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.4494, allocations: 0 / 0.6593 GB, free: 8.059 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005807/0.45, allocations: 212.8 kB / 0.6595 GB, free: 7.844 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.45, allocations: 59.41 kB / 0.6595 GB, free: 7.773 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4502, allocations: 218.5 kB / 0.6597 GB, free: 7.555 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4502, allocations: 33.7 kB / 0.6598 GB, free: 7.516 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4504, allocations: 214.8 kB / 0.66 GB, free: 7.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4504, allocations: 47.36 kB / 0.66 GB, free: 7.254 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.4504, allocations: 12 kB / 0.66 GB, free: 7.242 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4506, allocations: 322.8 kB / 0.6604 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.4506, allocations: 52.83 kB / 0.6604 GB, free: 6.863 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.4509, allocations: 317.2 kB / 0.6607 GB, free: 6.422 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.4513, allocations: 420.3 kB / 0.6611 GB, free: 5.879 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4513, allocations: 4 kB / 0.6611 GB, free: 5.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004827/0.4518, allocations: 385.5 kB / 0.6615 GB, free: 5.492 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4518, allocations: 12 kB / 0.6615 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4518, allocations: 8 kB / 0.6615 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4519, allocations: 15.94 kB / 0.6615 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.4522, allocations: 111.8 kB / 0.6616 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.4522, allocations: 15.94 kB / 0.6616 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.4524, allocations: 16 kB / 0.6616 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.4524, allocations: 27.98 kB / 0.6617 GB, free: 5.289 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.000111/0.4526, allocations: 162.6 kB / 0.6618 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4526, allocations: 19.75 kB / 0.6618 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4529, allocations: 148.7 kB / 0.662 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.4529, allocations: 4 kB / 0.662 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4529, allocations: 0 / 0.662 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4529, allocations: 0 / 0.662 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.4534, allocations: 440 kB / 0.6624 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4534, allocations: 0 / 0.6624 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.4536, allocations: 31.92 kB / 0.6624 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4536, allocations: 4 kB / 0.6624 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4536, allocations: 8.047 kB / 0.6625 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4536, allocations: 4 kB / 0.6625 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.4536, allocations: 80 / 0.6625 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4538, allocations: 229 kB / 0.6627 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.4539, allocations: 108.8 kB / 0.6628 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.454, allocations: 4 kB / 0.6628 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4542, allocations: 15.98 kB / 0.6628 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.4542, allocations: 7.984 kB / 0.6628 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.4542, allocations: 11.98 kB / 0.6628 GB, free: 3.996 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4543, allocations: 144.5 kB / 0.663 GB, free: 3.855 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4543, allocations: 0 / 0.663 GB, free: 3.855 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.4547, allocations: 95.98 kB / 0.663 GB, free: 3.762 MB / 474.7 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.0002779/0.455, allocations: 167.1 kB / 0.6632 GB, free: 3.586 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.4553, allocations: 173.5 kB / 0.6634 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4553, allocations: 0 / 0.6634 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.4554, allocations: 36.48 kB / 0.6634 GB, free: 3.383 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.4558, allocations: 56.53 kB / 0.6635 GB, free: 3.324 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.4567, allocations: 0.6253 MB / 0.6641 GB, free: 2.664 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.457, allocations: 0.7287 MB / 0.6648 GB, free: 1.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.4573, allocations: 54.77 kB / 0.6648 GB, free: 1.859 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.4573, allocations: 27.44 kB / 0.6649 GB, free: 1.836 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4573, allocations: 4 kB / 0.6649 GB, free: 1.832 MB / 474.7 MB Notification: Performance of Templates: time 0.006297/0.4636, allocations: 3.112 MB / 0.6679 GB, free: 14.75 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches