Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001924/0.001924, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.001948/0.001948, allocations: 164.9 kB / 25.03 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 250.4 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.642e-05, allocations: 2.312 kB / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002866/0.002892, allocations: 1.381 MB / 251.7 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.03773/0.04062, allocations: 23.36 MB / 275.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.04067, allocations: 0 / 275.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.0408, allocations: 7.922 kB / 275.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.05727, allocations: 5.68 MB / 280.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.05822, allocations: 362.4 kB / 281.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.05837, allocations: 79.62 kB / 281.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.05841, allocations: 7.938 kB / 281.2 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.0585, allocations: 35.91 kB / 281.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.0586, allocations: 43.88 kB / 281.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.05862, allocations: 4 kB / 281.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.07602, allocations: 8.272 MB / 289.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.07608, allocations: 19.92 kB / 289.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.07614, allocations: 27.91 kB / 289.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.08922, allocations: 5.441 MB / 295.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.08922, allocations: 0 / 295.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08922, allocations: 0 / 295.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.08923, allocations: 0 / 295.1 MB, free: 7.094 MB / 282.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.002458/0.09169, allocations: 0.9521 MB / 296 MB, free: 6.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.09172, allocations: 11.98 kB / 296 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.09179, allocations: 12.88 kB / 296 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.09198, allocations: 148.4 kB / 296.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.092, allocations: 4.375 kB / 296.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.09202, allocations: 7.938 kB / 296.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.09224, allocations: 120.5 kB / 296.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.09226, allocations: 0 / 296.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.09227, allocations: 0 / 296.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.09228, allocations: 0 / 296.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.09241, allocations: 27.92 kB / 296.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.09263, allocations: 132.4 kB / 296.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.09297, allocations: 98.09 kB / 296.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.09305, allocations: 27.44 kB / 296.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-05/0.09311, allocations: 19.92 kB / 296.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.09315, allocations: 37.39 kB / 296.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.607e-06/0.09315, allocations: 7.922 kB / 296.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003518/0.0935, allocations: 85.56 kB / 296.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.09357, allocations: 77.11 kB / 296.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.09374, allocations: 185.9 kB / 297 MB, free: 4.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.09377, allocations: 33.7 kB / 297 MB, free: 4.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.09385, allocations: 130.9 kB / 297.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.0939, allocations: 23.78 kB / 297.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.09395, allocations: 23.38 kB / 297.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.09423, allocations: 0.4884 MB / 297.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.09429, allocations: 7.984 kB / 297.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.09438, allocations: 39.42 kB / 297.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.09451, allocations: 47.36 kB / 297.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.09451, allocations: 0 / 297.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001957/0.09471, allocations: 73.56 kB / 297.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.09473, allocations: 4 kB / 297.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09473, allocations: 0 / 297.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.09474, allocations: 0 / 297.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.09482, allocations: 15.98 kB / 297.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.09482, allocations: 0 / 297.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.09487, allocations: 7.953 kB / 297.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.09488, allocations: 4 kB / 297.9 MB, free: 3.996 MB / 282.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 0.0001262/0.095, allocations: 156.6 kB / 298 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.09504, allocations: 15.92 kB / 298.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.0953, allocations: 85.59 kB / 298.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09531, allocations: 0 / 298.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.09531, allocations: 0 / 298.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.09531, allocations: 0.5625 kB / 298.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.09546, allocations: 132.6 kB / 298.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.09546, allocations: 0 / 298.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.09553, allocations: 11.94 kB / 298.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.09553, allocations: 7.938 kB / 298.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.09554, allocations: 0 / 298.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09554, allocations: 0 / 298.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09554, allocations: 4 kB / 298.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.09578, allocations: 120.1 kB / 298.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.09584, allocations: 15.88 kB / 298.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.09585, allocations: 7.875 kB / 298.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.09592, allocations: 4 kB / 298.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.09597, allocations: 7.984 kB / 298.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.09599, allocations: 4 kB / 298.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.0961, allocations: 147.1 kB / 298.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0961, allocations: 0 / 298.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002719/0.09882, allocations: 0.9353 MB / 299.5 MB, free: 2.277 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.004705/0.1035, allocations: 1.487 MB / 301 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1038, allocations: 47.59 kB / 301.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1038, allocations: 0 / 301.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-05/0.1039, allocations: 27.67 kB / 301.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1041, allocations: 31.92 kB / 301.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.1047, allocations: 177 kB / 301.3 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.1048, allocations: 71.33 kB / 301.4 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.1048, allocations: 8.375 kB / 301.4 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.1049, allocations: 16.5 kB / 301.4 MB, free: 364 kB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1049, allocations: 0 / 301.4 MB, free: 364 kB / 282.7 MB Notification: Performance of Templates: time 0.1399/0.2448, allocations: 29.58 MB / 331 MB, free: 37.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.277334771002643]