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.001687/0.001687, allocations: 120.5 kB / 18.41 MB, free: 4.688 MB / 14.72 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.001956/0.001957, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 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.417/1.417, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 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 0.001715/0.001715, allocations: 51.92 kB / 358.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.105, allocations: 49.44 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.003154/0.1082, allocations: 1.345 MB / 409.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1235, allocations: 12.09 MB / 421.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.1236, allocations: 0 / 421.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.1237, allocations: 7.922 kB / 421.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004081/0.1278, allocations: 1.042 MB / 422.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.1299, allocations: 0.6334 MB / 423.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1301, allocations: 75.58 kB / 423.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.1301, allocations: 0 / 423.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.1302, allocations: 31.91 kB / 423.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.1303, allocations: 23.92 kB / 423.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1303, allocations: 4 kB / 423.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.1341, allocations: 1.615 MB / 425 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.1341, allocations: 11.94 kB / 425 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1342, allocations: 23.91 kB / 425 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.1373, allocations: 1.072 MB / 426.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1374, allocations: 0 / 426.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1374, allocations: 0 / 426.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1374, allocations: 0 / 426.1 MB, free: 4.789 MB / 350.1 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.00114/0.1385, allocations: 0.5521 MB / 426.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1386, allocations: 12.02 kB / 426.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1387, allocations: 8.938 kB / 426.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.139, allocations: 188.2 kB / 426.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.139, allocations: 4.375 kB / 426.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.139, allocations: 4.375 kB / 426.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1392, allocations: 67.52 kB / 426.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1392, allocations: 4 kB / 426.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1393, allocations: 0 / 426.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1393, allocations: 0 / 426.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1394, allocations: 19.92 kB / 426.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.1396, allocations: 182.6 kB / 427.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.14, allocations: 81.06 kB / 427.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.14, allocations: 25.78 kB / 427.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1964/0.3364, allocations: 3.291 MB / 430.5 MB, free: 24.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.3365, allocations: 39.22 kB / 430.5 MB, free: 24.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.3365, allocations: 0 / 430.5 MB, free: 24.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003628/0.3369, allocations: 82.41 kB / 430.6 MB, free: 23.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.3369, allocations: 84.86 kB / 430.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.337, allocations: 113.5 kB / 430.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3371, allocations: 26.89 kB / 430.8 MB, free: 23.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.3371, allocations: 87.39 kB / 430.9 MB, free: 23.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.3371, allocations: 20.22 kB / 430.9 MB, free: 23.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3372, allocations: 20.78 kB / 431 MB, free: 23.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.3372, allocations: 316.8 kB / 431.3 MB, free: 23.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.3373, allocations: 9.375 kB / 431.3 MB, free: 23.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.3373, allocations: 28.52 kB / 431.3 MB, free: 23.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.3375, allocations: 39.2 kB / 431.3 MB, free: 23.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3375, allocations: 2.625 kB / 431.3 MB, free: 23.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001474/0.3376, allocations: 71.19 kB / 431.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3376, allocations: 11.09 kB / 431.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3377, allocations: 2.906 kB / 431.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3377, allocations: 0 / 431.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.3377, allocations: 13.12 kB / 431.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3378, allocations: 4.312 kB / 431.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.3378, allocations: 3.641 kB / 431.5 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3378, allocations: 6.281 kB / 431.5 MB, free: 23.28 MB / 350.1 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.219e-05/0.3379, allocations: 114.8 kB / 431.6 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.3379, allocations: 9.484 kB / 431.6 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3382, allocations: 105.9 kB / 431.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3382, allocations: 5.469 kB / 431.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3382, allocations: 2.578 kB / 431.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3382, allocations: 0 / 431.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.135e-05/0.3383, allocations: 170.2 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3383, allocations: 2.094 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.3384, allocations: 12.41 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3384, allocations: 5.688 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3384, allocations: 3.75 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3384, allocations: 3.719 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3384, allocations: 1.266 kB / 431.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3385, allocations: 108.5 kB / 432 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3386, allocations: 86.64 kB / 432.1 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3386, allocations: 0 / 432.1 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.3387, allocations: 5.594 kB / 432.1 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.3387, allocations: 11.16 kB / 432.1 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3388, allocations: 3.031 kB / 432.1 MB, free: 22.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.3388, allocations: 94.05 kB / 432.2 MB, free: 22.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3388, allocations: 0 / 432.2 MB, free: 22.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007431/0.3396, allocations: 327.7 kB / 432.5 MB, free: 22.68 MB / 350.1 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.001036/0.3406, allocations: 0.5908 MB / 433.1 MB, free: 22.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.3408, allocations: 36.39 kB / 433.1 MB, free: 22.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3408, allocations: 2 kB / 433.1 MB, free: 22.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.3409, allocations: 18.23 kB / 433.2 MB, free: 22.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3411, allocations: 15.31 kB / 433.2 MB, free: 22.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.3414, allocations: 187.6 kB / 433.4 MB, free: 22.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3416, allocations: 0.6817 MB / 434 MB, free: 21.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.3416, allocations: 23.53 kB / 434.1 MB, free: 21.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3416, allocations: 0.9375 kB / 434.1 MB, free: 21.67 MB / 350.1 MB Notification: Performance of Templates: time 0.01114/0.3528, allocations: 5.955 MB / 440 MB, free: 20.99 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.416469634976238]