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.00156/0.00156, allocations: 85.95 kB / 23 MB, free: 1.504 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.001831/0.001831, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.8887/0.8887, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.402e-06/1.402e-06, allocations: 3.938 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.42e-05, allocations: 2.312 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00219/0.002214, allocations: 1.386 MB / 253.6 MB, free: 5.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.01362, allocations: 11.81 MB / 265.4 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.01368, allocations: 4 kB / 265.4 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.01371, allocations: 7.922 kB / 265.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.01668, allocations: 1.045 MB / 266.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.01824, allocations: 0.6486 MB / 267.1 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.01835, allocations: 67.64 kB / 267.2 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.01839, allocations: 4 kB / 267.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.01845, allocations: 35.89 kB / 267.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.01854, allocations: 31.95 kB / 267.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.01855, allocations: 7.938 kB / 267.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.02119, allocations: 1.498 MB / 268.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.02122, allocations: 11.97 kB / 268.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.02125, allocations: 19.94 kB / 268.8 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.0235, allocations: 1.243 MB / 270.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.02351, allocations: 3.984 kB / 270.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02351, allocations: 0 / 270.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.02351, allocations: 0 / 270.1 MB, free: 5.359 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.0006892/0.0242, allocations: 0.5764 MB / 270.6 MB, free: 4.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.02424, allocations: 11.98 kB / 270.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.02436, allocations: 12.89 kB / 270.7 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.02447, allocations: 124.6 kB / 270.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.02449, allocations: 384 / 270.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.02451, allocations: 8.375 kB / 270.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.02468, allocations: 129.7 kB / 270.9 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.02469, allocations: 4.125 kB / 270.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.0247, allocations: 12.12 kB / 270.9 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.02471, allocations: 7.922 kB / 270.9 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.02475, allocations: 15.98 kB / 271 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.02489, allocations: 109 kB / 271.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.02509, allocations: 86.17 kB / 271.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.02512, allocations: 23.44 kB / 271.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003922/0.02904, allocations: 1.402 MB / 272.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.02907, allocations: 41.39 kB / 272.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.02907, allocations: 4 kB / 272.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001906/0.02926, allocations: 65.61 kB / 272.7 MB, free: 2.566 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.0293, allocations: 81.05 kB / 272.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.02939, allocations: 173.8 kB / 272.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.02941, allocations: 25.7 kB / 273 MB, free: 2.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.02945, allocations: 138.9 kB / 273.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.02949, allocations: 15.8 kB / 273.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.02953, allocations: 31.36 kB / 273.1 MB, free: 2.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.02966, allocations: 496.1 kB / 273.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.02968, allocations: 8 kB / 273.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.02971, allocations: 27.34 kB / 273.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.02977, allocations: 31.75 kB / 273.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.02977, allocations: 0 / 273.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001216/0.02989, allocations: 69.55 kB / 273.8 MB, free: 1.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.02991, allocations: 4 kB / 273.8 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02991, allocations: 4 kB / 273.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.02992, allocations: 0 / 273.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.02999, allocations: 11.98 kB / 273.8 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.03, allocations: 11.88 kB / 273.8 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.03003, allocations: 4 kB / 273.8 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.03004, allocations: 3.938 kB / 273.8 MB, free: 1.363 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 7.723e-05/0.03011, allocations: 160.6 kB / 274 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.03014, allocations: 7.953 kB / 274 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.03033, allocations: 93.86 kB / 274.1 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.03033, allocations: 4 kB / 274.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.03034, allocations: 4 kB / 274.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.03034, allocations: 3.938 kB / 274.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.03045, allocations: 113.3 kB / 274.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.03045, allocations: 0 / 274.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.0305, allocations: 15.92 kB / 274.2 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.0305, allocations: 0 / 274.2 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.03051, allocations: 4 kB / 274.2 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.03051, allocations: 0 / 274.2 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03051, allocations: 0 / 274.2 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.03064, allocations: 112 kB / 274.3 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.03067, allocations: 11.98 kB / 274.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.03068, allocations: 0 / 274.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.03072, allocations: 8 kB / 274.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.03076, allocations: 3.984 kB / 274.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.03076, allocations: 4 kB / 274.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.03082, allocations: 135.2 kB / 274.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03082, allocations: 0 / 274.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000787/0.0316, allocations: 338.7 kB / 274.8 MB, free: 296 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.001281/0.03288, allocations: 0.6346 MB / 275.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.03299, allocations: 35.61 kB / 275.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03299, allocations: 0 / 275.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.03303, allocations: 23.61 kB / 275.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.03325, allocations: 19.94 kB / 275.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.03387, allocations: 176.9 kB / 275.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.03391, allocations: 59.36 kB / 275.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.03402, allocations: 48.09 kB / 275.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.03413, allocations: 98.17 kB / 275.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.03413, allocations: 0 / 275.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of Templates: time 0.01463/0.04876, allocations: 10.82 MB / 286.7 MB, free: 4.312 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.7049879552796483]