Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: 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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3888/0.3888, allocations: 43.5 MB / 313.5 MB, free: 8.227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 70.56 kB / 382 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1542, allocations: 57.78 MB / 439.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4868/0.641, allocations: 134 MB / 0.5604 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.6467, allocations: 4.754 MB / 0.565 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.6469, allocations: 0 / 0.565 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.6474, allocations: 59.7 kB / 0.5651 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.6496, allocations: 0.6609 MB / 0.5657 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.65, allocations: 154.1 kB / 0.5659 GB, free: 428 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.6506, allocations: 450 kB / 0.5663 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.6507, allocations: 13.67 kB / 0.5663 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.6509, allocations: 152 kB / 0.5665 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.6512, allocations: 191.3 kB / 0.5667 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.6512, allocations: 8 kB / 0.5667 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.6527, allocations: 0.7174 MB / 0.5674 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.6528, allocations: 43.81 kB / 0.5674 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.6529, allocations: 107.5 kB / 0.5675 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.6537, allocations: 466.2 kB / 0.568 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6537, allocations: 0 / 0.568 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.6537, allocations: 0 / 0.568 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.6537, allocations: 0 / 0.568 GB, free: 14.3 MB / 446.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.001099/0.6548, allocations: 0.5928 MB / 0.5685 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6549, allocations: 12.02 kB / 0.5686 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.6551, allocations: 29.22 kB / 0.5686 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.6553, allocations: 224.1 kB / 0.5688 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.6555, allocations: 119.9 kB / 0.5689 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.6555, allocations: 25.06 kB / 0.5689 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.6561, allocations: 330.7 kB / 0.5692 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6561, allocations: 4 kB / 0.5693 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.6561, allocations: 11.94 kB / 0.5693 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6562, allocations: 11.94 kB / 0.5693 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.657, allocations: 0.743 MB / 0.57 GB, free: 12.09 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.001302/0.6583, allocations: 1.23 MB / 0.5712 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.6587, allocations: 171.8 kB / 0.5714 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.6588, allocations: 90.34 kB / 0.5715 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/0.6611, allocations: 2.703 MB / 0.5741 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.6611, allocations: 34.56 kB / 0.5741 GB, free: 7.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.6611, allocations: 0 / 0.5741 GB, free: 7.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006161/0.6617, allocations: 214.8 kB / 0.5743 GB, free: 7.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.6618, allocations: 59.34 kB / 0.5744 GB, free: 6.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.662, allocations: 214.9 kB / 0.5746 GB, free: 6.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.662, allocations: 29.7 kB / 0.5746 GB, free: 6.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.6621, allocations: 210.8 kB / 0.5748 GB, free: 6.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.6622, allocations: 51.36 kB / 0.5749 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.6623, allocations: 85.94 kB / 0.575 GB, free: 6.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6624, allocations: 334.8 kB / 0.5753 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.6625, allocations: 48.84 kB / 0.5753 GB, free: 5.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.6628, allocations: 328 kB / 0.5756 GB, free: 5.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.6632, allocations: 434 kB / 0.576 GB, free: 4.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.6632, allocations: 8.562 kB / 0.5761 GB, free: 4.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005017/0.6637, allocations: 369.6 kB / 0.5764 GB, free: 4.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6637, allocations: 12.19 kB / 0.5764 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.6637, allocations: 12 kB / 0.5764 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.6638, allocations: 16 kB / 0.5764 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.6641, allocations: 114.9 kB / 0.5766 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.6641, allocations: 18.05 kB / 0.5766 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.6643, allocations: 23.94 kB / 0.5766 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.6644, allocations: 31.98 kB / 0.5766 GB, free: 4.336 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.0001477/0.6645, allocations: 149.6 kB / 0.5768 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.6646, allocations: 23.72 kB / 0.5768 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.6649, allocations: 151.9 kB / 0.5769 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6649, allocations: 3.938 kB / 0.5769 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6649, allocations: 0 / 0.5769 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6649, allocations: 7.938 kB / 0.5769 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.6655, allocations: 444.6 kB / 0.5774 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6655, allocations: 0 / 0.5774 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.6656, allocations: 31.92 kB / 0.5774 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6656, allocations: 0 / 0.5774 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6657, allocations: 7.984 kB / 0.5774 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6657, allocations: 4 kB / 0.5774 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6657, allocations: 0 / 0.5774 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.6659, allocations: 223.4 kB / 0.5776 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.666, allocations: 112.8 kB / 0.5777 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.6661, allocations: 0 / 0.5777 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.6663, allocations: 11.98 kB / 0.5777 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.6663, allocations: 15.92 kB / 0.5778 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.6663, allocations: 8 kB / 0.5778 GB, free: 3.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.6664, allocations: 152.5 kB / 0.5779 GB, free: 2.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6665, allocations: 0 / 0.5779 GB, free: 2.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004651/0.6669, allocations: 88 kB / 0.578 GB, free: 2.82 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.0003673/0.6673, allocations: 163.1 kB / 0.5782 GB, free: 2.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.6676, allocations: 180.5 kB / 0.5783 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6676, allocations: 0 / 0.5783 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.556e-05/0.6677, allocations: 37.67 kB / 0.5784 GB, free: 2.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.6681, allocations: 56.41 kB / 0.5784 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.6692, allocations: 0.5428 MB / 0.5789 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.6694, allocations: 0.7326 MB / 0.5797 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.6697, allocations: 62.8 kB / 0.5797 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.6698, allocations: 27.44 kB / 0.5797 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6698, allocations: 0 / 0.5797 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of Templates: time 0.006924/0.6767, allocations: 3.06 MB / 0.5827 GB, free: 13.96 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches