Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001139/0.001139, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.628/1.628, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2261/0.2261, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001557/0.001557, allocations: 71.89 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4967/0.6293, allocations: 151.3 MB / 0.6357 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008711/0.6381, allocations: 6.98 MB / 0.6425 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.6383, allocations: 3.938 kB / 0.6425 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.6387, allocations: 55.66 kB / 0.6426 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.643, allocations: 1.446 MB / 0.644 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.6433, allocations: 139.8 kB / 0.6441 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.6439, allocations: 394.1 kB / 0.6445 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.6439, allocations: 17.67 kB / 0.6445 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.6442, allocations: 167.3 kB / 0.6447 GB, free: 9.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.6445, allocations: 175.4 kB / 0.6449 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.6445, allocations: 8 kB / 0.6449 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.6467, allocations: 1.233 MB / 0.6461 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.6468, allocations: 43.88 kB / 0.6461 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.6469, allocations: 111.5 kB / 0.6462 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.6484, allocations: 0.9588 MB / 0.6472 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6484, allocations: 0 / 0.6472 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6484, allocations: 0 / 0.6472 GB, free: 7.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.6484, allocations: 0 / 0.6472 GB, free: 7.461 MB / 494.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.00138/0.6498, allocations: 0.7179 MB / 0.6479 GB, free: 6.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6498, allocations: 15.89 kB / 0.6479 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/0.6568, allocations: 0.5862 MB / 0.6484 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.6574, allocations: 272.2 kB / 0.6487 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6575, allocations: 131.3 kB / 0.6488 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.6576, allocations: 16 kB / 0.6488 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.6588, allocations: 0.5634 MB / 0.6494 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6588, allocations: 0 / 0.6494 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.6589, allocations: 12 kB / 0.6494 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.659, allocations: 8 kB / 0.6494 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.6605, allocations: 0.6299 MB / 0.65 GB, free: 4.371 MB / 494.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.002281/0.6628, allocations: 1.649 MB / 0.6516 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.6632, allocations: 158.5 kB / 0.6518 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.6633, allocations: 76.88 kB / 0.6519 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.6648, allocations: 1.311 MB / 0.6531 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.6648, allocations: 34.56 kB / 0.6532 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.765e-06/0.6648, allocations: 0 / 0.6532 GB, free: 0.7969 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001147/0.666, allocations: 329.2 kB / 0.6535 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.666, allocations: 55.34 kB / 0.6535 GB, free: 416 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.6662, allocations: 195.2 kB / 0.6537 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.6662, allocations: 29.7 kB / 0.6538 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.6664, allocations: 191.6 kB / 0.6539 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.6665, allocations: 67.09 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.6666, allocations: 89.88 kB / 0.6541 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6668, allocations: 330.8 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.6669, allocations: 68.7 kB / 0.6545 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.6672, allocations: 259.8 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.6677, allocations: 366.9 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6678, allocations: 7.938 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006257/0.6684, allocations: 372.7 kB / 0.6554 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6684, allocations: 8 kB / 0.6554 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6684, allocations: 4 kB / 0.6554 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.6685, allocations: 14 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.6689, allocations: 127.7 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004035/0.6693, allocations: 0.606 MB / 0.6562 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.6695, allocations: 39.53 kB / 0.6562 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.6696, allocations: 51.92 kB / 0.6563 GB, free: 13.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.6698, allocations: 149.5 kB / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.6698, allocations: 19.75 kB / 0.6564 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.6705, allocations: 291.7 kB / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6705, allocations: 0 / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.6705, allocations: 4 kB / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6705, allocations: 0 / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.6712, allocations: 0.5182 MB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6712, allocations: 3.938 kB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.6715, allocations: 56.78 kB / 0.6573 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6715, allocations: 0 / 0.6573 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.6715, allocations: 15.92 kB / 0.6573 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003369/0.6719, allocations: 0.5939 MB / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6719, allocations: 4.031 kB / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.6722, allocations: 270.7 kB / 0.6581 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6724, allocations: 108.8 kB / 0.6582 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.6724, allocations: 17.11 kB / 0.6582 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6726, allocations: 4 kB / 0.6582 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.6727, allocations: 15.98 kB / 0.6583 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.6727, allocations: 15.98 kB / 0.6583 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001267/0.6729, allocations: 140.2 kB / 0.6584 GB, free: 11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6729, allocations: 4 kB / 0.6584 GB, free: 11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007151/0.6736, allocations: 192 kB / 0.6586 GB, free: 10.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000754/0.6744, allocations: 323.2 kB / 0.6589 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005366/0.6749, allocations: 228 kB / 0.6591 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6749, allocations: 0 / 0.6591 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.6751, allocations: 85.33 kB / 0.6592 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.6757, allocations: 68 kB / 0.6593 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.6787, allocations: 1.935 MB / 0.6612 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.6791, allocations: 0.7245 MB / 0.6619 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.6794, allocations: 110.1 kB / 0.662 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6796, allocations: 47.42 kB / 0.662 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.6796, allocations: 0 / 0.662 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.01193/0.6915, allocations: 6.156 MB / 0.668 GB, free: 1.109 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches