Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 167 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9129/0.9129, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.314e-05, allocations: 5.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001523/0.001536, allocations: 1.416 MB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1154/0.117, allocations: 22.99 MB / 297.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.117, allocations: 4 kB / 297.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1171, allocations: 11.36 kB / 297.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.127, allocations: 6.02 MB / 303.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.1275, allocations: 376.6 kB / 304.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.1276, allocations: 83.56 kB / 304.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.801e-05/0.1276, allocations: 2.031 kB / 304.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.1277, allocations: 41.2 kB / 304.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.1277, allocations: 43.92 kB / 304.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1277, allocations: 2.281 kB / 304.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008041/0.1358, allocations: 8.425 MB / 312.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.1358, allocations: 13.39 kB / 312.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.1358, allocations: 19.86 kB / 312.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.1399, allocations: 5.513 MB / 318.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1399, allocations: 0 / 318.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1399, allocations: 0 / 318.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1399, allocations: 0 / 318.3 MB, free: 3.863 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009366/0.1409, allocations: 0.9559 MB / 319.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1409, allocations: 19.97 kB / 319.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1409, allocations: 12.83 kB / 319.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.823e-05/0.141, allocations: 132.2 kB / 319.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.141, allocations: 8.75 kB / 319.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.141, allocations: 0 / 319.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1411, allocations: 141.7 kB / 319.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1411, allocations: 0 / 319.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.1412, allocations: 0 / 319.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1412, allocations: 4 kB / 319.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.1412, allocations: 7.984 kB / 319.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.787e-05/0.1413, allocations: 113.8 kB / 319.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1414, allocations: 94.17 kB / 319.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.1414, allocations: 19.44 kB / 319.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.1415, allocations: 20.11 kB / 319.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.1415, allocations: 37.39 kB / 319.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.02e-07/0.1415, allocations: 3.938 kB / 319.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001226/0.1416, allocations: 70.64 kB / 319.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/0.1416, allocations: 81.05 kB / 320 MB, free: 1.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.1417, allocations: 179.7 kB / 320.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1417, allocations: 29.7 kB / 320.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.763e-05/0.1417, allocations: 142.8 kB / 320.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1417, allocations: 15.84 kB / 320.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.1418, allocations: 23.38 kB / 320.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.1418, allocations: 0.4884 MB / 320.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.1418, allocations: 4 kB / 320.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.1418, allocations: 34.67 kB / 320.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.1419, allocations: 35.19 kB / 320.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1419, allocations: 0 / 320.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.964e-05/0.1419, allocations: 61.64 kB / 321 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1419, allocations: 12.61 kB / 321 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.1419, allocations: 3.938 kB / 321 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1419, allocations: 0 / 321 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.142, allocations: 11.94 kB / 321 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.142, allocations: 0 / 321 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.142, allocations: 8 kB / 321 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.142, allocations: 0 / 321 MB, free: 0.8711 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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 3.616e-05/0.142, allocations: 160.6 kB / 321.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1421, allocations: 11.89 kB / 321.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.1421, allocations: 81.55 kB / 321.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1421, allocations: 4 kB / 321.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1421, allocations: 0 / 321.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1421, allocations: 3.984 kB / 321.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.049e-05/0.1422, allocations: 105.2 kB / 321.4 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1422, allocations: 4 kB / 321.4 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.1422, allocations: 11.98 kB / 321.4 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1422, allocations: 0 / 321.4 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.1422, allocations: 4 kB / 321.4 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.1422, allocations: 4 kB / 321.4 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1422, allocations: 7.938 kB / 321.4 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.415e-05/0.1423, allocations: 104 kB / 321.5 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.1423, allocations: 15.94 kB / 321.5 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.1423, allocations: 1 kB / 321.5 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/0.1424, allocations: 0 / 321.5 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.1424, allocations: 11.92 kB / 321.5 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1424, allocations: 8 kB / 321.5 MB, free: 280 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.056e-05/0.1424, allocations: 135.2 kB / 321.7 MB, free: 144 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1424, allocations: 0 / 321.7 MB, free: 144 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001099/0.1435, allocations: 0.9552 MB / 322.6 MB, free: 15.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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.002326/0.1458, allocations: 1.506 MB / 324.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.1459, allocations: 36.22 kB / 324.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1459, allocations: 0 / 324.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.1459, allocations: 23.62 kB / 324.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1461, allocations: 20.36 kB / 324.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.1465, allocations: 186.9 kB / 324.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.1465, allocations: 64.83 kB / 324.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.1466, allocations: 15.98 kB / 324.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.1466, allocations: 94.17 kB / 324.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1466, allocations: 0 / 324.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of Templates: time 0.03507/0.1817, allocations: 32.58 MB / 357.1 MB, free: 12.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.579042787663639]