Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001867/0.001867, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.702e-05/4.918e-05, allocations: 6.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002726/0.002775, allocations: 1.396 MB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1645/0.1672, allocations: 23.27 MB / 296.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.1673, allocations: 0 / 296.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1674, allocations: 6.609 kB / 296.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.1832, allocations: 6.015 MB / 302.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.1841, allocations: 373.5 kB / 303.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1842, allocations: 79.25 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1843, allocations: 5.969 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.1844, allocations: 44.88 kB / 303.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.1845, allocations: 34.92 kB / 303.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1845, allocations: 2.75 kB / 303.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.1992, allocations: 8.42 MB / 311.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.1992, allocations: 16.77 kB / 311.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.1993, allocations: 23.89 kB / 311.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009666/0.2089, allocations: 5.499 MB / 317.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2089, allocations: 0 / 317.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2089, allocations: 0 / 317.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2089, allocations: 3.938 kB / 317.4 MB, free: 4.133 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.00155/0.2105, allocations: 0.9597 MB / 318.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2105, allocations: 19.98 kB / 318.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.2106, allocations: 16.88 kB / 318.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2107, allocations: 138.8 kB / 318.5 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2107, allocations: 0.75 kB / 318.5 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2107, allocations: 7.891 kB / 318.5 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2109, allocations: 120.4 kB / 318.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2109, allocations: 0 / 318.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2109, allocations: 8 kB / 318.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2109, allocations: 3.938 kB / 318.6 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.211, allocations: 15.98 kB / 318.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2112, allocations: 140.4 kB / 318.8 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.2114, allocations: 98.09 kB / 318.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.2115, allocations: 23.44 kB / 318.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.004e-05/0.2115, allocations: 11.98 kB / 318.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.2116, allocations: 45.33 kB / 319 MB, free: 2.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.2116, allocations: 0 / 319 MB, free: 2.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002811/0.2118, allocations: 81.56 kB / 319 MB, free: 2.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.2119, allocations: 81.11 kB / 319.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.2119, allocations: 190.8 kB / 319.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.212, allocations: 25.7 kB / 319.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.212, allocations: 134.9 kB / 319.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.212, allocations: 23.77 kB / 319.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.212, allocations: 23.38 kB / 319.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.2121, allocations: 0.4883 MB / 320 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.2122, allocations: 11.98 kB / 320 MB, free: 1.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.2122, allocations: 31.36 kB / 320 MB, free: 1.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.2123, allocations: 43.36 kB / 320.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2123, allocations: 8 kB / 320.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001507/0.2125, allocations: 69.73 kB / 320.2 MB, free: 1.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2125, allocations: 7.938 kB / 320.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2125, allocations: 4 kB / 320.2 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2125, allocations: 3.984 kB / 320.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.2125, allocations: 12 kB / 320.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2126, allocations: 0 / 320.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.2126, allocations: 4 kB / 320.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2126, allocations: 0 / 320.2 MB, free: 1.047 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 4.943e-05/0.2127, allocations: 168.5 kB / 320.4 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.2127, allocations: 15.88 kB / 320.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.2129, allocations: 89.52 kB / 320.5 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2129, allocations: 4 kB / 320.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2129, allocations: 3.938 kB / 320.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2129, allocations: 0 / 320.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.871e-05/0.213, allocations: 124.6 kB / 320.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.213, allocations: 0 / 320.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.213, allocations: 8 kB / 320.6 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.213, allocations: 0 / 320.6 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.213, allocations: 11.94 kB / 320.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.213, allocations: 0 / 320.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.213, allocations: 0 / 320.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.2132, allocations: 116.1 kB / 320.7 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.2132, allocations: 15.88 kB / 320.7 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2132, allocations: 7.938 kB / 320.7 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.2133, allocations: 4 kB / 320.7 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.2134, allocations: 7.984 kB / 320.8 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2134, allocations: 4 kB / 320.8 MB, free: 412 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.2134, allocations: 140.7 kB / 320.9 MB, free: 272 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2134, allocations: 8 kB / 320.9 MB, free: 264 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.00224/0.2156, allocations: 0.9624 MB / 321.9 MB, free: 15.29 MB / 282.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.004415/0.2201, allocations: 1.466 MB / 323.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2203, allocations: 48.09 kB / 323.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2203, allocations: 0 / 323.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.2204, allocations: 23.69 kB / 323.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2206, allocations: 28.62 kB / 323.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.2211, allocations: 171.4 kB / 323.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.2212, allocations: 71.33 kB / 323.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.2213, allocations: 15.98 kB / 323.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.2213, allocations: 16.5 kB / 323.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2213, allocations: 0 / 323.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of Templates: time 0.04797/0.2693, allocations: 28.23 MB / 351.9 MB, free: 1.168 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.549427158082835]