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.001123/0.001123, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001204/0.001204, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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.9048/0.9048, allocations: 177 MB / 204.8 MB, free: 5.586 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.252e-06/1.252e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.589e-05, allocations: 2.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001637/0.001653, allocations: 1.399 MB / 274.3 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008168/0.009822, allocations: 12 MB / 286.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.009851, allocations: 0 / 286.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.009875, allocations: 7.922 kB / 286.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.01158, allocations: 1.041 MB / 287.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.01236, allocations: 0.6602 MB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.01244, allocations: 63.66 kB / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.12e-05/0.01247, allocations: 4 kB / 288.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.01252, allocations: 35.89 kB / 288.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.0126, allocations: 31.95 kB / 288.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.01261, allocations: 4 kB / 288.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.01416, allocations: 1.506 MB / 289.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.01417, allocations: 11.98 kB / 289.7 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.0142, allocations: 15.92 kB / 289.7 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1108/0.125, allocations: 1.241 MB / 290.9 MB, free: 17.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.125, allocations: 0.6875 kB / 290.9 MB, free: 17.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.125, allocations: 0.75 kB / 290.9 MB, free: 17.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.125, allocations: 0.8125 kB / 290.9 MB, free: 17.35 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.0008437/0.1259, allocations: 0.5735 MB / 291.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1259, allocations: 13.89 kB / 291.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.126, allocations: 11.64 kB / 291.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.813e-05/0.1261, allocations: 126.9 kB / 291.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1261, allocations: 3.781 kB / 291.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1262, allocations: 5.969 kB / 291.7 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1263, allocations: 129.9 kB / 291.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1263, allocations: 0.9688 kB / 291.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1263, allocations: 2.938 kB / 291.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1263, allocations: 5.844 kB / 291.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.1264, allocations: 17.77 kB / 291.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1265, allocations: 134.5 kB / 291.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1267, allocations: 93.48 kB / 292 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.1268, allocations: 25.11 kB / 292.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003103/0.1299, allocations: 1.505 MB / 293.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1299, allocations: 41.05 kB / 293.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.1299, allocations: 0 / 293.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002251/0.1301, allocations: 72.11 kB / 293.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1301, allocations: 90.58 kB / 293.8 MB, free: 16.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.1302, allocations: 173.6 kB / 293.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.1302, allocations: 27.05 kB / 294 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.1302, allocations: 132.6 kB / 294.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1303, allocations: 18.72 kB / 294.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1303, allocations: 26.17 kB / 294.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.1304, allocations: 499 kB / 294.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.1304, allocations: 5.5 kB / 294.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.1304, allocations: 28.27 kB / 294.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.1305, allocations: 38.53 kB / 294.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1305, allocations: 4 kB / 294.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.695e-05/0.1306, allocations: 59.3 kB / 294.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1306, allocations: 6.234 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1306, allocations: 1.719 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1306, allocations: 0 / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.1306, allocations: 11.81 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1307, allocations: 5.969 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.1307, allocations: 8.594 kB / 294.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1307, allocations: 2.469 kB / 294.8 MB, free: 15.18 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 4.548e-05/0.1307, allocations: 166.1 kB / 294.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.1308, allocations: 12.77 kB / 295 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.1309, allocations: 91.19 kB / 295 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1309, allocations: 5.156 kB / 295.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1309, allocations: 4.875 kB / 295.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1309, allocations: 4.375 kB / 295.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.794e-05/0.131, allocations: 128 kB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.131, allocations: 1.188 kB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.131, allocations: 14.78 kB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.131, allocations: 1.156 kB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.131, allocations: 1.688 kB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.131, allocations: 2.344 kB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.131, allocations: 0 / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.298e-05/0.1311, allocations: 110.7 kB / 295.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1312, allocations: 15.77 kB / 295.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1312, allocations: 2.312 kB / 295.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.1312, allocations: 2.938 kB / 295.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1313, allocations: 21.47 kB / 295.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1313, allocations: 3.062 kB / 295.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.752e-05/0.1313, allocations: 136.3 kB / 295.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 3 kB / 295.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007517/0.132, allocations: 325 kB / 295.8 MB, free: 14.53 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.0009435/0.133, allocations: 0.612 MB / 296.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1331, allocations: 43.91 kB / 296.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1331, allocations: 1.031 kB / 296.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.903e-05/0.1331, allocations: 26.55 kB / 296.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.1333, allocations: 13.88 kB / 296.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.1339, allocations: 184.7 kB / 296.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.516e-05/0.1339, allocations: 59.36 kB / 296.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.721e-05/0.134, allocations: 43.33 kB / 296.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.134, allocations: 19.98 kB / 296.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.134, allocations: 4 kB / 296.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Templates: time 0.01389/0.1479, allocations: 11.48 MB / 308.3 MB, free: 9.934 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.653516670688987]