Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 153.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.468e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002679/0.002704, allocations: 1.336 MB / 268.7 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.01838, allocations: 10.68 MB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.01842, allocations: 0 / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.01845, allocations: 7.938 kB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.02235, allocations: 1.041 MB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.02444, allocations: 0.6563 MB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.02457, allocations: 63.66 kB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.02462, allocations: 4 kB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.0247, allocations: 35.95 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.02479, allocations: 31.89 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.02481, allocations: 4 kB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.02793, allocations: 1.49 MB / 282.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.02795, allocations: 15.92 kB / 282.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.028, allocations: 19.97 kB / 282.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.03057, allocations: 1.243 MB / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.03057, allocations: 0 / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03057, allocations: 0 / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.03058, allocations: 0 / 283.9 MB, free: 6.012 MB / 266.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.0009257/0.0315, allocations: 484.2 kB / 284.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.03154, allocations: 16.92 kB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.03168, allocations: 12.86 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.03185, allocations: 129.7 kB / 284.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.03186, allocations: 4.375 kB / 284.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.03188, allocations: 4.375 kB / 284.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.0321, allocations: 111.4 kB / 284.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.03211, allocations: 4.188 kB / 284.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.03212, allocations: 8.125 kB / 284.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.03213, allocations: 0 / 284.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.03225, allocations: 27.91 kB / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.03245, allocations: 118.2 kB / 284.8 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.03276, allocations: 77.22 kB / 284.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.03284, allocations: 21.77 kB / 284.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006472/0.03931, allocations: 1.504 MB / 286.4 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.03935, allocations: 34.56 kB / 286.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.03935, allocations: 0 / 286.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003741/0.03972, allocations: 89.55 kB / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.03979, allocations: 81.05 kB / 286.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.03991, allocations: 113.8 kB / 286.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.03994, allocations: 33.64 kB / 286.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.03999, allocations: 80.14 kB / 286.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.04003, allocations: 31.72 kB / 286.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.04008, allocations: 17.72 kB / 286.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.04025, allocations: 318.8 kB / 287.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.04032, allocations: 11.98 kB / 287.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.04039, allocations: 25.7 kB / 287.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.04052, allocations: 37.7 kB / 287.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.04052, allocations: 0 / 287.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001901/0.04071, allocations: 69.61 kB / 287.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.04072, allocations: 8 kB / 287.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.04073, allocations: 0 / 287.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.04075, allocations: 4 kB / 287.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.04082, allocations: 11.94 kB / 287.4 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.04083, allocations: 4 kB / 287.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.04088, allocations: 7.938 kB / 287.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.04089, allocations: 4 kB / 287.4 MB, free: 2.32 MB / 266.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.0001034/0.04099, allocations: 113.8 kB / 287.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.04102, allocations: 4 kB / 287.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.04132, allocations: 110 kB / 287.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.04133, allocations: 4 kB / 287.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.04134, allocations: 4.062 kB / 287.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.04134, allocations: 4.078 kB / 287.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.04148, allocations: 117.3 kB / 287.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.04148, allocations: 0 / 287.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.04155, allocations: 19.98 kB / 287.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.04155, allocations: 0 / 287.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.04156, allocations: 0 / 287.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.04156, allocations: 0 / 287.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.04157, allocations: 8.25 kB / 287.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.04179, allocations: 101.9 kB / 287.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.04183, allocations: 19.88 kB / 287.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.04185, allocations: 0 / 287.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.04193, allocations: 4 kB / 287.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.04198, allocations: 11.92 kB / 287.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.04199, allocations: 4 kB / 287.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.802e-05/0.04206, allocations: 99.19 kB / 288 MB, free: 1.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04206, allocations: 0 / 288 MB, free: 1.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008607/0.04293, allocations: 326.8 kB / 288.3 MB, free: 1.324 MB / 266.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.001496/0.04442, allocations: 0.6226 MB / 289 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.04461, allocations: 27.98 kB / 289 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.04461, allocations: 0 / 289 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.04468, allocations: 23.92 kB / 289 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.04489, allocations: 18.8 kB / 289 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.04533, allocations: 153.5 kB / 289.2 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.318e-05/0.04541, allocations: 75.33 kB / 289.3 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.04552, allocations: 48.11 kB / 289.3 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.04557, allocations: 20.48 kB / 289.3 MB, free: 292 kB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.04557, allocations: 3.938 kB / 289.3 MB, free: 288 kB / 266.7 MB Notification: Performance of Templates: time 0.1067/0.1523, allocations: 9.191 MB / 298.5 MB, free: 30.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.509051809087396]