Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0009366/0.0009366, allocations: 83.73 kB / 21.97 MB, free: 2.598 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.001056/0.001056, allocations: 162.7 kB / 25.33 MB, free: 9.207 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 0.7958/0.7958, allocations: 158.6 MB / 187.2 MB, free: 2.918 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 251 MB, free: 7.395 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.517e-05, allocations: 6.312 kB / 251 MB, free: 7.387 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.007331/0.007356, allocations: 1.378 MB / 252.4 MB, free: 5.996 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.02344, allocations: 11.98 MB / 264.4 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.02349, allocations: 4 kB / 264.4 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.02352, allocations: 3.938 kB / 264.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.027, allocations: 1.049 MB / 265.5 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.02879, allocations: 0.6525 MB / 266.1 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.02891, allocations: 75.59 kB / 266.2 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.02894, allocations: 0 / 266.2 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.02901, allocations: 39.89 kB / 266.2 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.0291, allocations: 27.95 kB / 266.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.02912, allocations: 4 kB / 266.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.03208, allocations: 1.498 MB / 267.8 MB, free: 6.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.0321, allocations: 8 kB / 267.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.03214, allocations: 19.92 kB / 267.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.03437, allocations: 1.243 MB / 269 MB, free: 5.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.03438, allocations: 4 kB / 269 MB, free: 5.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.03438, allocations: 4 kB / 269 MB, free: 5.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.03439, allocations: 0 / 269 MB, free: 5.312 MB / 250.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.000846/0.03523, allocations: 0.5764 MB / 269.6 MB, free: 4.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.03528, allocations: 11.98 kB / 269.6 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.03543, allocations: 12.89 kB / 269.6 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.03556, allocations: 124.5 kB / 269.8 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.03558, allocations: 4.375 kB / 269.8 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.0356, allocations: 384 / 269.8 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.0358, allocations: 137.7 kB / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.03581, allocations: 192 / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.03582, allocations: 12.12 kB / 269.9 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.03583, allocations: 0 / 269.9 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.03589, allocations: 11.98 kB / 269.9 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.03605, allocations: 132.3 kB / 270 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.0363, allocations: 94.23 kB / 270.1 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.03634, allocations: 27.36 kB / 270.2 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004077/0.04042, allocations: 1.504 MB / 271.7 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.04046, allocations: 45.31 kB / 271.7 MB, free: 2.457 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.04046, allocations: 0 / 271.7 MB, free: 2.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002374/0.0407, allocations: 69.61 kB / 271.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.04073, allocations: 81.05 kB / 271.9 MB, free: 2.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.04084, allocations: 173.9 kB / 272 MB, free: 2.098 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.04085, allocations: 29.7 kB / 272.1 MB, free: 2.062 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.0409, allocations: 130.9 kB / 272.2 MB, free: 1.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.04093, allocations: 27.78 kB / 272.2 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.04097, allocations: 23.38 kB / 272.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.0411, allocations: 492.1 kB / 272.7 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.04113, allocations: 11.98 kB / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.04117, allocations: 27.38 kB / 272.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.04124, allocations: 39.3 kB / 272.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.04124, allocations: 0 / 272.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001278/0.04137, allocations: 61.64 kB / 272.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.04139, allocations: 11.98 kB / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.04139, allocations: 4 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.04141, allocations: 0 / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.04148, allocations: 15.88 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.04148, allocations: 0 / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.04152, allocations: 4.469 kB / 272.9 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.04153, allocations: 3.984 kB / 272.9 MB, free: 1.18 MB / 250.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 8.548e-05/0.04162, allocations: 160.6 kB / 273.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.04164, allocations: 7.953 kB / 273.1 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.04185, allocations: 101.6 kB / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.04186, allocations: 0 / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.04186, allocations: 7.875 kB / 273.2 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.04187, allocations: 3.984 kB / 273.2 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.04198, allocations: 120.6 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.04198, allocations: 4 kB / 273.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.04203, allocations: 15.92 kB / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.04203, allocations: 0 / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.04204, allocations: 8 kB / 273.3 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.04204, allocations: 0 / 273.3 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.04204, allocations: 0 / 273.3 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.04243, allocations: 112 kB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.04247, allocations: 11.98 kB / 273.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.04248, allocations: 0 / 273.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.04253, allocations: 4 kB / 273.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.04257, allocations: 15.86 kB / 273.5 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.04258, allocations: 4.188 kB / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.04264, allocations: 139.5 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04264, allocations: 4 kB / 273.6 MB, free: 400 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008008/0.04344, allocations: 326.8 kB / 273.9 MB, free: 72 kB / 250.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.001157/0.0446, allocations: 0.6189 MB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.04473, allocations: 35.61 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.04473, allocations: 0 / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.04477, allocations: 27.67 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.04499, allocations: 19.94 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.04568, allocations: 188.8 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.04572, allocations: 55.36 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.04582, allocations: 52.09 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.04587, allocations: 20.48 kB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.04587, allocations: 0 / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of Templates: time 0.0176/0.06347, allocations: 11.45 MB / 286.4 MB, free: 3.535 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_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.458621311932802]