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.0016/0.0016, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001524/0.001524, allocations: 161.4 kB / 25.02 MB, free: 8.953 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.458/1.458, allocations: 158.6 MB / 186.8 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.634e-05, allocations: 6.109 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002455/0.002481, allocations: 1.338 MB / 251.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.01716, allocations: 10.68 MB / 262.4 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.01721, allocations: 4 kB / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.01724, allocations: 4 kB / 262.4 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.02043, allocations: 1.037 MB / 263.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.02217, allocations: 0.6563 MB / 264.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.02229, allocations: 63.66 kB / 264.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.02232, allocations: 8 kB / 264.2 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.0224, allocations: 39.89 kB / 264.2 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.02249, allocations: 27.95 kB / 264.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.0225, allocations: 0 / 264.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.02538, allocations: 1.498 MB / 265.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.0254, allocations: 8 kB / 265.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.02545, allocations: 23.91 kB / 265.7 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.02762, allocations: 1.247 MB / 267 MB, free: 7.129 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02762, allocations: 0 / 267 MB, free: 7.129 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02762, allocations: 0 / 267 MB, free: 7.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.02763, allocations: 4 kB / 267 MB, free: 7.125 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.0008777/0.02851, allocations: 480.3 kB / 267.5 MB, free: 6.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.02855, allocations: 15.98 kB / 267.5 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.02869, allocations: 8.891 kB / 267.5 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.02885, allocations: 121.7 kB / 267.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.02887, allocations: 4.359 kB / 267.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.02889, allocations: 8.375 kB / 267.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.02912, allocations: 119.3 kB / 267.7 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.02913, allocations: 192 / 267.7 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.02915, allocations: 4.125 kB / 267.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.02915, allocations: 4 kB / 267.7 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.02928, allocations: 23.97 kB / 267.8 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.02947, allocations: 126.2 kB / 267.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.02978, allocations: 73.12 kB / 268 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.02985, allocations: 21.78 kB / 268 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00609/0.03594, allocations: 1.507 MB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.03599, allocations: 42.48 kB / 269.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.03599, allocations: 0 / 269.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003522/0.03634, allocations: 77.61 kB / 269.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.03641, allocations: 85.05 kB / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.03654, allocations: 113.8 kB / 269.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.03656, allocations: 25.7 kB / 269.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.03662, allocations: 92.12 kB / 269.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.03666, allocations: 23.8 kB / 269.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.0367, allocations: 17.72 kB / 270 MB, free: 3.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.0369, allocations: 318.8 kB / 270.3 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.03695, allocations: 8 kB / 270.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.03702, allocations: 25.7 kB / 270.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.03715, allocations: 46 kB / 270.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.03715, allocations: 0 / 270.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001892/0.03734, allocations: 69.62 kB / 270.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.03736, allocations: 12 kB / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.03737, allocations: 0 / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.03739, allocations: 3.938 kB / 270.4 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.03747, allocations: 20.05 kB / 270.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.03747, allocations: 4 kB / 270.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.03752, allocations: 0 / 270.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.03753, allocations: 4 kB / 270.5 MB, free: 3.438 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 9.77e-05/0.03763, allocations: 109.8 kB / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.03766, allocations: 11.95 kB / 270.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.03796, allocations: 101.6 kB / 270.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.03797, allocations: 4 kB / 270.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.03798, allocations: 3.938 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.03798, allocations: 3.938 kB / 270.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.03811, allocations: 113.3 kB / 270.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.03812, allocations: 0 / 270.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.03818, allocations: 19.92 kB / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.03818, allocations: 0 / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.03819, allocations: 4 kB / 270.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.03819, allocations: 4.312 kB / 270.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0382, allocations: 4 kB / 270.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.03841, allocations: 101.9 kB / 270.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.03845, allocations: 15.92 kB / 270.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.03847, allocations: 3.938 kB / 271 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.03854, allocations: 4 kB / 271 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.0386, allocations: 15.92 kB / 271 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.0386, allocations: 0 / 271 MB, free: 2.855 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.03869, allocations: 95.25 kB / 271.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03869, allocations: 4 kB / 271.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008469/0.03953, allocations: 326.8 kB / 271.4 MB, free: 2.438 MB / 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.001255/0.04079, allocations: 0.6151 MB / 272 MB, free: 1.812 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.04096, allocations: 35.91 kB / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.04097, allocations: 0 / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.04103, allocations: 23.98 kB / 272.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.04124, allocations: 19.94 kB / 272.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.04169, allocations: 156.5 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.722e-05/0.04175, allocations: 67.34 kB / 272.3 MB, free: 1.469 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.04187, allocations: 56.41 kB / 272.4 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.04192, allocations: 20.5 kB / 272.4 MB, free: 1.395 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.04192, allocations: 0 / 272.4 MB, free: 1.395 MB / 250.7 MB Notification: Performance of Templates: time 0.02073/0.06266, allocations: 9.197 MB / 281.6 MB, free: 8.195 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.488440399989486]