Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007956/0.0007956, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003235/0.003235, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8325/0.8325, allocations: 177.2 MB / 205 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.988e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001442/0.001462, allocations: 1.362 MB / 327.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.01878, allocations: 21.17 MB / 348.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.01882, allocations: 0 / 348.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.01897, allocations: 7.922 kB / 348.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.02949, allocations: 6.017 MB / 354.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.03002, allocations: 366.4 kB / 354.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.03012, allocations: 79.64 kB / 354.8 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.03016, allocations: 11.92 kB / 354.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/0.03022, allocations: 47.89 kB / 354.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.0303, allocations: 27.95 kB / 354.9 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.03031, allocations: 4 kB / 354.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.04037, allocations: 8.416 MB / 363.3 MB, free: 9.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.04041, allocations: 15.92 kB / 363.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.04044, allocations: 19.97 kB / 363.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006019/0.04646, allocations: 5.492 MB / 368.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.04646, allocations: 0 / 368.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.04647, allocations: 3.938 kB / 368.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.04647, allocations: 0 / 368.8 MB, free: 4.277 MB / 330.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.001026/0.0475, allocations: 0.8641 MB / 369.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.04753, allocations: 8.031 kB / 369.7 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.04758, allocations: 12.89 kB / 369.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.0477, allocations: 137.7 kB / 369.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.04771, allocations: 4.375 kB / 369.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.04772, allocations: 7.938 kB / 369.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.04786, allocations: 122.7 kB / 370 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.04787, allocations: 0 / 370 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.04788, allocations: 3.938 kB / 370 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.04788, allocations: 0 / 370 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.04796, allocations: 35.97 kB / 370 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.04808, allocations: 138.2 kB / 370.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.0483, allocations: 101.1 kB / 370.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.04834, allocations: 25.77 kB / 370.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.04838, allocations: 15.92 kB / 370.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.0484, allocations: 42.5 kB / 370.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.0484, allocations: 0 / 370.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002059/0.0486, allocations: 97.61 kB / 370.4 MB, free: 2.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.04864, allocations: 81.05 kB / 370.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.04872, allocations: 137.8 kB / 370.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.04873, allocations: 37.7 kB / 370.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.04876, allocations: 80.14 kB / 370.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.04878, allocations: 23.8 kB / 370.8 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.04881, allocations: 17.72 kB / 370.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.04887, allocations: 318.8 kB / 371.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.0489, allocations: 15.98 kB / 371.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.04894, allocations: 34.08 kB / 371.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.151e-05/0.04901, allocations: 53.64 kB / 371.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.04901, allocations: 0 / 371.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001003/0.04911, allocations: 85.59 kB / 371.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.04912, allocations: 7.938 kB / 371.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.04913, allocations: 0 / 371.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.04914, allocations: 0 / 371.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.491e-05/0.04917, allocations: 15.94 kB / 371.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.04918, allocations: 0 / 371.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.0492, allocations: 0 / 371.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.0492, allocations: 8 kB / 371.3 MB, free: 1.551 MB / 330.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 5.336e-05/0.04926, allocations: 113.8 kB / 371.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.04927, allocations: 11.89 kB / 371.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.0494, allocations: 97.59 kB / 371.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.0494, allocations: 0.5625 kB / 371.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.04941, allocations: 3.984 kB / 371.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.04941, allocations: 4 kB / 371.6 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.213e-05/0.04949, allocations: 129.1 kB / 371.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.04949, allocations: 0 / 371.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.04951, allocations: 12 kB / 371.7 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.04951, allocations: 3.938 kB / 371.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.04952, allocations: 0 / 371.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.04952, allocations: 8 kB / 371.7 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.04952, allocations: 3.984 kB / 371.7 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.04962, allocations: 110.1 kB / 371.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.04966, allocations: 23.88 kB / 371.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.04967, allocations: 0 / 371.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.0497, allocations: 4 kB / 371.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.04974, allocations: 7.984 kB / 371.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.04974, allocations: 4 kB / 371.9 MB, free: 0.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.04978, allocations: 111.3 kB / 372 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04978, allocations: 0 / 372 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001052/0.05084, allocations: 0.9586 MB / 372.9 MB, free: 15.89 MB / 346.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.002635/0.05347, allocations: 1.465 MB / 374.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.0536, allocations: 47.91 kB / 374.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0536, allocations: 0 / 374.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.05364, allocations: 23.98 kB / 374.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.05381, allocations: 32.12 kB / 374.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.05411, allocations: 195.2 kB / 374.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.05415, allocations: 67.34 kB / 374.8 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.05418, allocations: 20.48 kB / 374.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.05418, allocations: 0 / 374.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of Templates: time 0.01652/0.0707, allocations: 18.58 MB / 393.4 MB, free: 11.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.74829145334661]