Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001348/0.001348, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001448/0.001448, allocations: 167.8 kB / 25.33 MB, free: 8.523 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 0.8548/0.8548, allocations: 158.6 MB / 187.2 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.884e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001664/0.001683, allocations: 1.394 MB / 252.4 MB, free: 6.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.02057, allocations: 23.43 MB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.02061, allocations: 4 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.02073, allocations: 7.938 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.03133, allocations: 5.688 MB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.03191, allocations: 374.4 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.03202, allocations: 79.62 kB / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.4e-05/0.03206, allocations: 0 / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.03212, allocations: 47.88 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.03245, allocations: 35.89 kB / 282.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.03247, allocations: 4 kB / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.04287, allocations: 8.275 MB / 290.4 MB, free: 56 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.04291, allocations: 19.91 kB / 290.4 MB, free: 36 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.04295, allocations: 23.92 kB / 290.4 MB, free: 12 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007352/0.0503, allocations: 5.453 MB / 295.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.0503, allocations: 4 kB / 295.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.05031, allocations: 0 / 295.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.05031, allocations: 0 / 295.9 MB, free: 10.54 MB / 282.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.001821/0.05213, allocations: 0.952 MB / 296.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.05217, allocations: 15.98 kB / 296.8 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.05222, allocations: 8.891 kB / 296.8 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.05233, allocations: 124.6 kB / 297 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.05235, allocations: 4.375 kB / 297 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.05236, allocations: 7.938 kB / 297 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.05252, allocations: 137.1 kB / 297.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.05253, allocations: 4 kB / 297.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.05254, allocations: 0 / 297.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.05255, allocations: 0 / 297.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.05259, allocations: 15.98 kB / 297.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.05272, allocations: 136.4 kB / 297.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.05292, allocations: 94.02 kB / 297.4 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.05295, allocations: 27.44 kB / 297.4 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.053, allocations: 19.92 kB / 297.4 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.05302, allocations: 37.39 kB / 297.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.05302, allocations: 0 / 297.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001678/0.05319, allocations: 69.58 kB / 297.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.05322, allocations: 81.09 kB / 297.6 MB, free: 8.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.0533, allocations: 189.8 kB / 297.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.05331, allocations: 29.7 kB / 297.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.05334, allocations: 126.9 kB / 297.9 MB, free: 8.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.05338, allocations: 27.78 kB / 297.9 MB, free: 8.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.0534, allocations: 27.38 kB / 298 MB, free: 8.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.0535, allocations: 0.4923 MB / 298.5 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.05352, allocations: 4 kB / 298.5 MB, free: 7.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.05355, allocations: 19.38 kB / 298.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.0536, allocations: 39.36 kB / 298.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0536, allocations: 0 / 298.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.909e-05/0.05368, allocations: 65.56 kB / 298.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.05369, allocations: 4 kB / 298.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.0537, allocations: 3.984 kB / 298.6 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.05371, allocations: 7.984 kB / 298.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.05375, allocations: 12 kB / 298.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.05376, allocations: 3.938 kB / 298.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.05378, allocations: 3.953 kB / 298.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.05379, allocations: 8 kB / 298.6 MB, free: 7.496 MB / 282.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.871e-05/0.05384, allocations: 152.6 kB / 298.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.05386, allocations: 15.92 kB / 298.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.05398, allocations: 78.03 kB / 298.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.05398, allocations: 4 kB / 298.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.05399, allocations: 4 kB / 298.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.05399, allocations: 4.078 kB / 298.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.05406, allocations: 128.5 kB / 299 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.05406, allocations: 4 kB / 299 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.05409, allocations: 11.98 kB / 299 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.0541, allocations: 3.938 kB / 299 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.0541, allocations: 8 kB / 299 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.0541, allocations: 3.938 kB / 299 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.05411, allocations: 0 / 299 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.0542, allocations: 116.1 kB / 299.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.05423, allocations: 7.984 kB / 299.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.05424, allocations: 3.938 kB / 299.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.05428, allocations: 8 kB / 299.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.05431, allocations: 7.984 kB / 299.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.05432, allocations: 0 / 299.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.05437, allocations: 143.2 kB / 299.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05437, allocations: 0 / 299.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00159/0.05596, allocations: 0.9353 MB / 300.3 MB, free: 5.793 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.002761/0.05872, allocations: 1.479 MB / 301.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.05884, allocations: 39.59 kB / 301.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.05884, allocations: 0 / 301.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.05887, allocations: 19.69 kB / 301.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.05904, allocations: 35.91 kB / 301.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.05959, allocations: 185.4 kB / 302 MB, free: 4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.05962, allocations: 63.28 kB / 302.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.05966, allocations: 15.98 kB / 302.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.05969, allocations: 20.48 kB / 302.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05969, allocations: 0 / 302.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of Templates: time 0.035/0.09469, allocations: 36.93 MB / 339 MB, free: 14.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.145545591134578]