Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0009607/0.0009607, allocations: 82.59 kB / 21.43 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.0009409/0.0009409, allocations: 170 kB / 24.82 MB, free: 9.254 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.9491/0.9491, allocations: 177 MB / 205.1 MB, free: 5.488 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.226e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001525/0.001537, allocations: 1.396 MB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008477/0.01001, allocations: 11.83 MB / 286.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.01005, allocations: 0 / 286.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.01007, allocations: 7.922 kB / 286.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.0124, allocations: 1.049 MB / 287.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.01352, allocations: 0.6602 MB / 288.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.0136, allocations: 71.64 kB / 288.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.01363, allocations: 0 / 288.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.01369, allocations: 43.89 kB / 288.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.01375, allocations: 19.97 kB / 288.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.01377, allocations: 4 kB / 288.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.01561, allocations: 1.498 MB / 289.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.01562, allocations: 15.97 kB / 289.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.01565, allocations: 27.92 kB / 289.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.102/0.1177, allocations: 1.235 MB / 291.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1177, allocations: 0 / 291.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1177, allocations: 1.375 kB / 291.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1177, allocations: 0 / 291.2 MB, free: 17.24 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.0006093/0.1183, allocations: 0.5761 MB / 291.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1183, allocations: 13.52 kB / 291.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.1184, allocations: 10.88 kB / 291.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.436e-05/0.1185, allocations: 125.2 kB / 291.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1185, allocations: 4.344 kB / 291.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1185, allocations: 6.328 kB / 291.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1186, allocations: 129 kB / 292 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1186, allocations: 192 / 292 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1186, allocations: 2.688 kB / 292 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1186, allocations: 7.031 kB / 292 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.1186, allocations: 11.67 kB / 292.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.134e-05/0.1187, allocations: 119.2 kB / 292.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.1189, allocations: 86.61 kB / 292.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.1189, allocations: 26.69 kB / 292.3 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002648/0.1215, allocations: 1.438 MB / 293.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1216, allocations: 36.34 kB / 293.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1216, allocations: 1.125 kB / 293.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001411/0.1217, allocations: 67.89 kB / 293.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.552e-05/0.1217, allocations: 79.86 kB / 293.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.1218, allocations: 179.1 kB / 294.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.1218, allocations: 26.92 kB / 294.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.56e-05/0.1218, allocations: 129.1 kB / 294.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1218, allocations: 26.25 kB / 294.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.1218, allocations: 21.81 kB / 294.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.1219, allocations: 499.2 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.1219, allocations: 9.359 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.1219, allocations: 29.52 kB / 294.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.1219, allocations: 32.55 kB / 294.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1219, allocations: 1.969 kB / 294.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.454e-05/0.122, allocations: 58.88 kB / 294.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.122, allocations: 9.719 kB / 294.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.122, allocations: 5.016 kB / 294.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.122, allocations: 1.156 kB / 294.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.1221, allocations: 14.69 kB / 294.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.1221, allocations: 2.125 kB / 294.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1221, allocations: 6.891 kB / 294.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1221, allocations: 3.594 kB / 294.9 MB, free: 15.1 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.451e-05/0.1221, allocations: 159.8 kB / 295.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.1222, allocations: 15.11 kB / 295.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1223, allocations: 97.73 kB / 295.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1223, allocations: 2.312 kB / 295.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1223, allocations: 0 / 295.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1223, allocations: 5.812 kB / 295.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.214e-05/0.1223, allocations: 104.9 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1223, allocations: 1.125 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.1224, allocations: 11.36 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1224, allocations: 1.094 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.1224, allocations: 1.484 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1224, allocations: 5.625 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1224, allocations: 1.125 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.1225, allocations: 111.3 kB / 295.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.1225, allocations: 15.09 kB / 295.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-06/0.1225, allocations: 2.188 kB / 295.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.1225, allocations: 2.812 kB / 295.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1226, allocations: 9.938 kB / 295.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.1226, allocations: 3.25 kB / 295.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.098e-05/0.1226, allocations: 133.1 kB / 295.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1226, allocations: 0 / 295.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.1231, allocations: 335.6 kB / 295.9 MB, free: 14.48 MB / 266.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.0007946/0.1239, allocations: 0.64 MB / 296.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.1239, allocations: 31.14 kB / 296.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1239, allocations: 1.219 kB / 296.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.124, allocations: 28.33 kB / 296.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1241, allocations: 17.09 kB / 296.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.1245, allocations: 182.1 kB / 296.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.01e-05/0.1245, allocations: 58.48 kB / 296.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.1246, allocations: 51.23 kB / 296.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1247, allocations: 93.22 kB / 297 MB, free: 13.98 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1247, allocations: 1.438 kB / 297 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Templates: time 0.009829/0.1345, allocations: 10.83 MB / 307.9 MB, free: 10.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.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: 3.487680673133582]