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.001407/0.001407, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002312/0.002312, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.515/1.515, allocations: 177 MB / 204.5 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.457e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002523/0.002548, allocations: 1.347 MB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.01812, allocations: 10.71 MB / 284.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.01816, allocations: 0 / 284.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.01819, allocations: 3.938 kB / 284.2 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.02117, allocations: 1.041 MB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.0228, allocations: 0.6525 MB / 285.9 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.02292, allocations: 71.64 kB / 286 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.775e-05/0.02295, allocations: 3.938 kB / 286 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.02302, allocations: 39.91 kB / 286.1 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.02311, allocations: 23.95 kB / 286.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.02312, allocations: 4 kB / 286.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.02585, allocations: 1.494 MB / 287.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.02587, allocations: 11.97 kB / 287.6 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.02592, allocations: 23.92 kB / 287.6 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.02795, allocations: 1.247 MB / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.02796, allocations: 0 / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02796, allocations: 0 / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.02796, allocations: 0 / 288.9 MB, free: 1.102 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.0007671/0.02873, allocations: 488.2 kB / 289.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.02876, allocations: 11.98 kB / 289.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.02889, allocations: 16.88 kB / 289.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.02903, allocations: 117.8 kB / 289.5 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.02904, allocations: 4.375 kB / 289.5 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.02906, allocations: 8.375 kB / 289.5 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.02926, allocations: 119.3 kB / 289.6 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.02927, allocations: 192 / 289.6 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.02928, allocations: 4.125 kB / 289.6 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.02929, allocations: 4 kB / 289.6 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.0294, allocations: 19.98 kB / 289.6 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.02959, allocations: 122.1 kB / 289.8 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1046/0.1342, allocations: 85.16 kB / 289.8 MB, free: 29.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1343, allocations: 21.97 kB / 289.9 MB, free: 29.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005771/0.1401, allocations: 1.5 MB / 291.4 MB, free: 29.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.1401, allocations: 34.44 kB / 291.4 MB, free: 29.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1401, allocations: 0 / 291.4 MB, free: 29.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003411/0.1404, allocations: 81.95 kB / 291.5 MB, free: 29.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1405, allocations: 82.02 kB / 291.5 MB, free: 29.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.1405, allocations: 113.7 kB / 291.7 MB, free: 29.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1405, allocations: 30.33 kB / 291.7 MB, free: 29.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.1406, allocations: 82.02 kB / 291.8 MB, free: 29.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1406, allocations: 24.88 kB / 291.8 MB, free: 29.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1406, allocations: 20.3 kB / 291.8 MB, free: 28.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.1407, allocations: 318.1 kB / 292.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.1407, allocations: 9.891 kB / 292.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.1408, allocations: 24.86 kB / 292.2 MB, free: 28.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1409, allocations: 45.67 kB / 292.2 MB, free: 28.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1409, allocations: 3.5 kB / 292.2 MB, free: 28.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001591/0.141, allocations: 71.89 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1411, allocations: 5.688 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1411, allocations: 1.281 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1411, allocations: 1.281 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.1412, allocations: 16.69 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1412, allocations: 1.812 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.1412, allocations: 9.25 kB / 292.3 MB, free: 28.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1412, allocations: 4.266 kB / 292.3 MB, free: 28.61 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.86e-05/0.1413, allocations: 116.1 kB / 292.4 MB, free: 28.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1413, allocations: 5.875 kB / 292.4 MB, free: 28.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1416, allocations: 103.5 kB / 292.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1416, allocations: 4.5 kB / 292.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1416, allocations: 0.5625 kB / 292.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1416, allocations: 2.062 kB / 292.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.347e-05/0.1417, allocations: 119.2 kB / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1417, allocations: 0 / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1417, allocations: 16.69 kB / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1417, allocations: 3.484 kB / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1417, allocations: 1.75 kB / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1418, allocations: 2.031 kB / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1418, allocations: 0 / 292.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1419, allocations: 107.5 kB / 292.8 MB, free: 28.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.142, allocations: 14.66 kB / 292.8 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.142, allocations: 10.78 kB / 292.8 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.1421, allocations: 4.562 kB / 292.8 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1421, allocations: 9.594 kB / 292.8 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1421, allocations: 3.297 kB / 292.8 MB, free: 28.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.814e-05/0.1422, allocations: 101 kB / 292.9 MB, free: 28.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1422, allocations: 0 / 292.9 MB, free: 28.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.1429, allocations: 324.9 kB / 293.2 MB, free: 28.14 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.001073/0.144, allocations: 0.6125 MB / 293.9 MB, free: 27.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1441, allocations: 39.95 kB / 293.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1441, allocations: 0 / 293.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.1442, allocations: 20.06 kB / 293.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.1444, allocations: 18.45 kB / 293.9 MB, free: 27.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.1448, allocations: 163.6 kB / 294.1 MB, free: 27.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.1448, allocations: 65.83 kB / 294.2 MB, free: 27.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1449, allocations: 51.73 kB / 294.2 MB, free: 27.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.145, allocations: 24.16 kB / 294.2 MB, free: 27.71 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.145, allocations: 0 / 294.2 MB, free: 27.71 MB / 266.7 MB Notification: Performance of Templates: time 0.01248/0.1574, allocations: 9.213 MB / 303.4 MB, free: 23.95 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.428803683957085]