Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008028, allocations: 98.67 kB / 295.1 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3347/0.3347, allocations: 44.31 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004379, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3707, allocations: 61.9 MB / 0.5127 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1358/0.5065, allocations: 124.6 MB / 0.6344 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006356/0.5129, allocations: 7.053 MB / 0.6413 GB, free: 9.293 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.5132, allocations: 4 kB / 0.6413 GB, free: 9.289 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.5135, allocations: 47.73 kB / 0.6414 GB, free: 9.242 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.5155, allocations: 0.6687 MB / 0.642 GB, free: 8.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.5159, allocations: 159.7 kB / 0.6422 GB, free: 8.414 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.5165, allocations: 438.1 kB / 0.6426 GB, free: 7.984 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.5166, allocations: 9.688 kB / 0.6426 GB, free: 7.977 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.5169, allocations: 163.3 kB / 0.6428 GB, free: 7.816 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.5172, allocations: 195.3 kB / 0.643 GB, free: 7.625 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.5173, allocations: 8 kB / 0.643 GB, free: 7.617 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.5188, allocations: 0.7017 MB / 0.6437 GB, free: 6.914 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5189, allocations: 47.81 kB / 0.6437 GB, free: 6.867 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.5191, allocations: 129.2 kB / 0.6438 GB, free: 6.734 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5203, allocations: 464.9 kB / 0.6443 GB, free: 6.281 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5203, allocations: 3.938 kB / 0.6443 GB, free: 6.277 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5203, allocations: 0 / 0.6443 GB, free: 6.277 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.5203, allocations: 0 / 0.6443 GB, free: 6.277 MB / 458.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.001124/0.5214, allocations: 0.5385 MB / 0.6448 GB, free: 5.691 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5215, allocations: 12.03 kB / 0.6448 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.5217, allocations: 28.66 kB / 0.6448 GB, free: 5.652 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.522, allocations: 228.1 kB / 0.6451 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.5221, allocations: 123.9 kB / 0.6452 GB, free: 5.242 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.5222, allocations: 20.38 kB / 0.6452 GB, free: 5.223 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.5227, allocations: 326.8 kB / 0.6455 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5227, allocations: 3.938 kB / 0.6455 GB, free: 4.875 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.5227, allocations: 12 kB / 0.6455 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.5228, allocations: 8 kB / 0.6455 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.5235, allocations: 0.7352 MB / 0.6462 GB, free: 4.117 MB / 458.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.001335/0.5249, allocations: 1.23 MB / 0.6474 GB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.5253, allocations: 171.8 kB / 0.6476 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.5254, allocations: 89.41 kB / 0.6477 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.5278, allocations: 2.699 MB / 0.6503 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.5278, allocations: 34.56 kB / 0.6504 GB, free: 15.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.5278, allocations: 4 kB / 0.6504 GB, free: 15.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006064/0.5284, allocations: 212.8 kB / 0.6506 GB, free: 15.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5285, allocations: 55.41 kB / 0.6506 GB, free: 14.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.5287, allocations: 214.5 kB / 0.6508 GB, free: 14.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5287, allocations: 33.69 kB / 0.6509 GB, free: 14.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5289, allocations: 214.8 kB / 0.6511 GB, free: 14.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.5289, allocations: 47.36 kB / 0.6511 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.5289, allocations: 8 kB / 0.6511 GB, free: 14.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.529, allocations: 330.8 kB / 0.6514 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.5291, allocations: 52.83 kB / 0.6515 GB, free: 14.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.5295, allocations: 324 kB / 0.6518 GB, free: 13.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.53, allocations: 430 kB / 0.6522 GB, free: 13.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.53, allocations: 4 kB / 0.6522 GB, free: 13.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005982/0.5306, allocations: 381.6 kB / 0.6526 GB, free: 12.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5306, allocations: 12.06 kB / 0.6526 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.5306, allocations: 12 kB / 0.6526 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.5307, allocations: 15.94 kB / 0.6526 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.531, allocations: 107.8 kB / 0.6527 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/0.531, allocations: 27.86 kB / 0.6527 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.5313, allocations: 23.94 kB / 0.6528 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5313, allocations: 24 kB / 0.6528 GB, free: 12.45 MB / 474.7 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.0001403/0.5315, allocations: 158.1 kB / 0.6529 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.5315, allocations: 19.81 kB / 0.6529 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.5318, allocations: 147.8 kB / 0.6531 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5319, allocations: 7.984 kB / 0.6531 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5319, allocations: 4 kB / 0.6531 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5319, allocations: 0 / 0.6531 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.5324, allocations: 436.1 kB / 0.6535 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5324, allocations: 0 / 0.6535 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.5326, allocations: 23.98 kB / 0.6535 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.5326, allocations: 4 kB / 0.6535 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5326, allocations: 0 / 0.6535 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5326, allocations: 4 kB / 0.6535 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5326, allocations: 4.062 kB / 0.6536 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.5329, allocations: 232.8 kB / 0.6538 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.533, allocations: 104.8 kB / 0.6539 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.533, allocations: 4 kB / 0.6539 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5332, allocations: 11.98 kB / 0.6539 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.5333, allocations: 11.98 kB / 0.6539 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.5333, allocations: 12 kB / 0.6539 GB, free: 11.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.5334, allocations: 148.5 kB / 0.6541 GB, free: 11.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5334, allocations: 0 / 0.6541 GB, free: 11.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.5339, allocations: 91.94 kB / 0.6541 GB, free: 10.93 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.0003389/0.5343, allocations: 167.1 kB / 0.6543 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.5346, allocations: 179.2 kB / 0.6545 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5346, allocations: 0 / 0.6545 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.5346, allocations: 32.03 kB / 0.6545 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.5351, allocations: 65.78 kB / 0.6546 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.5359, allocations: 0.5901 MB / 0.6551 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.5362, allocations: 0.7248 MB / 0.6558 GB, free: 9.113 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.5365, allocations: 54.83 kB / 0.6559 GB, free: 9.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.5365, allocations: 27.44 kB / 0.6559 GB, free: 9.035 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5365, allocations: 0 / 0.6559 GB, free: 9.035 MB / 474.7 MB Notification: Performance of Templates: time 0.006201/0.5428, allocations: 3.056 MB / 0.6589 GB, free: 6.004 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches