Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007948/0.0007948, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003044/0.003044, allocations: 154.8 kB / 24.69 MB, free: 9.43 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.8351/0.8351, allocations: 177.2 MB / 205 MB, free: 5.73 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.628e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001506/0.001532, allocations: 1.347 MB / 327.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007978/0.00951, allocations: 10.72 MB / 337.9 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.009546, allocations: 0 / 337.9 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.009568, allocations: 3.938 kB / 337.9 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.01178, allocations: 1.041 MB / 338.9 MB, free: 2.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01293, allocations: 0.6524 MB / 339.6 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.01303, allocations: 75.64 kB / 339.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.01307, allocations: 3.984 kB / 339.7 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.01312, allocations: 31.91 kB / 339.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.0132, allocations: 31.95 kB / 339.7 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.01322, allocations: 4 kB / 339.7 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.01483, allocations: 1.494 MB / 341.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.01485, allocations: 7.984 kB / 341.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.01488, allocations: 23.92 kB / 341.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.01603, allocations: 1.239 MB / 342.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01603, allocations: 4 kB / 342.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01603, allocations: 0 / 342.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.01604, allocations: 0 / 342.5 MB, free: 14.69 MB / 314.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.0007576/0.01679, allocations: 491.3 kB / 343 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.01683, allocations: 8.031 kB / 343 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.01692, allocations: 16.88 kB / 343 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.01702, allocations: 113.8 kB / 343.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.01703, allocations: 384 / 343.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.01704, allocations: 8.312 kB / 343.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.01718, allocations: 119.3 kB / 343.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.01719, allocations: 8.188 kB / 343.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.0172, allocations: 4.125 kB / 343.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.0172, allocations: 0 / 343.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.01726, allocations: 23.97 kB / 343.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.01738, allocations: 126.2 kB / 343.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.01759, allocations: 73.19 kB / 343.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.01763, allocations: 29.66 kB / 343.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/0.02018, allocations: 1.505 MB / 345 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.0202, allocations: 42.5 kB / 345 MB, free: 12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.0202, allocations: 0 / 345 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002082/0.02041, allocations: 81.59 kB / 345.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.02045, allocations: 81.05 kB / 345.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.02052, allocations: 117.8 kB / 345.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.02053, allocations: 25.7 kB / 345.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.02055, allocations: 84.14 kB / 345.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.02058, allocations: 27.78 kB / 345.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.02061, allocations: 17.72 kB / 345.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.02068, allocations: 314.8 kB / 345.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.02071, allocations: 11.98 kB / 345.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.02075, allocations: 29.7 kB / 345.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/0.02081, allocations: 37.64 kB / 345.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.02081, allocations: 0 / 345.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.846e-05/0.02091, allocations: 74 kB / 345.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.02092, allocations: 4 kB / 345.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.02092, allocations: 4 kB / 345.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.02094, allocations: 96 / 345.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.02097, allocations: 19.86 kB / 346 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.02098, allocations: 0 / 346 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.021, allocations: 7.984 kB / 346 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.02101, allocations: 0 / 346 MB, free: 11 MB / 314.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.188e-05/0.02106, allocations: 113.8 kB / 346.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.02107, allocations: 8.078 kB / 346.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.02123, allocations: 105.6 kB / 346.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02123, allocations: 7.938 kB / 346.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02123, allocations: 3.938 kB / 346.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.02124, allocations: 0 / 346.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.747e-05/0.0213, allocations: 113.3 kB / 346.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02131, allocations: 0 / 346.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.02133, allocations: 15.92 kB / 346.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.02133, allocations: 0 / 346.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.02134, allocations: 12 kB / 346.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.02134, allocations: 0 / 346.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.02135, allocations: 0 / 346.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.02145, allocations: 101.9 kB / 346.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.02148, allocations: 4 kB / 346.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.02149, allocations: 7.984 kB / 346.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.02152, allocations: 4 kB / 346.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.02155, allocations: 11.92 kB / 346.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.02156, allocations: 3.938 kB / 346.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.627e-05/0.0216, allocations: 107.5 kB / 346.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0216, allocations: 8 kB / 346.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004246/0.02202, allocations: 326.8 kB / 346.9 MB, free: 10 MB / 314.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.0007569/0.02278, allocations: 0.615 MB / 347.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.02289, allocations: 27.98 kB / 347.5 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02289, allocations: 3.938 kB / 347.5 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.02293, allocations: 23.98 kB / 347.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.02306, allocations: 14.47 kB / 347.6 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.02336, allocations: 187.2 kB / 347.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.0234, allocations: 63.34 kB / 347.8 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.02344, allocations: 24.48 kB / 347.8 MB, free: 8.98 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.02344, allocations: 4 kB / 347.8 MB, free: 8.977 MB / 314.7 MB Notification: Performance of Templates: time 0.005308/0.02875, allocations: 6.065 MB / 353.9 MB, free: 2.906 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.834092161618173]