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.001752/0.001752, allocations: 112.8 kB / 21.93 MB, free: 5.223 MB / 14.72 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.002117/0.002117, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.477/1.477, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 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_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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 51.92 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.297, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002302/0.2993, allocations: 1.343 MB / 398.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02868/0.328, allocations: 21.24 MB / 420.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.3281, allocations: 1.375 kB / 420.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3282, allocations: 7.922 kB / 420.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02/0.3482, allocations: 5.623 MB / 425.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3493, allocations: 366.2 kB / 426.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3494, allocations: 80.61 kB / 426.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.3495, allocations: 6.766 kB / 426.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.3495, allocations: 27.33 kB / 426.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3496, allocations: 43.17 kB / 426.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3497, allocations: 3.438 kB / 426.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/0.3677, allocations: 8.247 MB / 434.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.3678, allocations: 15.98 kB / 434.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.3678, allocations: 23.86 kB / 434.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.3806, allocations: 4.288 MB / 438.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.3806, allocations: 4 kB / 438.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3806, allocations: 0 / 438.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3806, allocations: 4 kB / 438.9 MB, free: 9.805 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.002741/0.3833, allocations: 0.8447 MB / 439.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3834, allocations: 15.98 kB / 439.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.3834, allocations: 4.891 kB / 439.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3836, allocations: 153.9 kB / 439.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3836, allocations: 7.938 kB / 439.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3836, allocations: 0 / 439.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3839, allocations: 118.8 kB / 440 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3839, allocations: 0 / 440 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3839, allocations: 8 kB / 440.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3839, allocations: 4 kB / 440.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.384, allocations: 35.91 kB / 440.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.3842, allocations: 134.2 kB / 440.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.3845, allocations: 93.12 kB / 440.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.3846, allocations: 33.77 kB / 440.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/0.3847, allocations: 11.98 kB / 440.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3847, allocations: 30.56 kB / 440.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3847, allocations: 0 / 440.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003192/0.385, allocations: 105.5 kB / 440.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.3851, allocations: 81.11 kB / 440.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3852, allocations: 141.8 kB / 440.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3852, allocations: 25.7 kB / 440.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.3853, allocations: 84.14 kB / 440.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.3853, allocations: 27.78 kB / 440.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3853, allocations: 13.72 kB / 440.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3855, allocations: 326.8 kB / 441.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.3855, allocations: 12 kB / 441.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.3856, allocations: 41.64 kB / 441.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3857, allocations: 54.06 kB / 441.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3857, allocations: 0 / 441.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001877/0.3859, allocations: 89.55 kB / 441.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3859, allocations: 4 kB / 441.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.386, allocations: 0 / 441.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.386, allocations: 4 kB / 441.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.386, allocations: 11.98 kB / 441.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.386, allocations: 0 / 441.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.3861, allocations: 8 kB / 441.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3861, allocations: 0 / 441.4 MB, free: 7.086 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 9.018e-05/0.3862, allocations: 117.8 kB / 441.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.3862, allocations: 7.953 kB / 441.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3864, allocations: 105.5 kB / 441.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3864, allocations: 4 kB / 441.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3865, allocations: 0 / 441.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3865, allocations: 0 / 441.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3866, allocations: 121.2 kB / 441.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3866, allocations: 4 kB / 441.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.3866, allocations: 15.92 kB / 441.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3866, allocations: 0 / 441.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3867, allocations: 4 kB / 441.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3867, allocations: 0 / 441.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3867, allocations: 0 / 441.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3869, allocations: 117.9 kB / 441.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.3869, allocations: 11.92 kB / 441.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.3869, allocations: 4 kB / 441.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.387, allocations: 8.172 kB / 441.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.387, allocations: 4.375 kB / 441.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.387, allocations: 8 kB / 441.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.3871, allocations: 119.1 kB / 442 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3871, allocations: 0 / 442 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002644/0.3898, allocations: 0.9353 MB / 443 MB, free: 5.441 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.004148/0.3939, allocations: 1.352 MB / 444.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.3942, allocations: 51.97 kB / 444.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3942, allocations: 7.875 kB / 444.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.3942, allocations: 19.98 kB / 444.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3945, allocations: 15.94 kB / 444.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.395, allocations: 210.7 kB / 444.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.3951, allocations: 75.19 kB / 444.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.3951, allocations: 15.44 kB / 444.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3951, allocations: 4 kB / 444.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of Templates: time 0.03188/0.427, allocations: 19.41 MB / 464.1 MB, free: 192 kB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 11.584885198622942]