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.001306/0.001306, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001363/0.001363, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 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.444/1.444, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 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 0.001823/0.001823, allocations: 63.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.0965, allocations: 53.33 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002397/0.09889, allocations: 1.385 MB / 429.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1999/0.2988, allocations: 23.68 MB / 452.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.2988, allocations: 0 / 452.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.2989, allocations: 11.75 kB / 452.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01751/0.3164, allocations: 6.013 MB / 458.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.3174, allocations: 342 kB / 459.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3175, allocations: 84.41 kB / 459.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3176, allocations: 1.906 kB / 459.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.3176, allocations: 35.78 kB / 459.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3178, allocations: 42.09 kB / 459.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3178, allocations: 3.531 kB / 459.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01875/0.3365, allocations: 9.002 MB / 468.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.3366, allocations: 16.39 kB / 468.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.3366, allocations: 23.02 kB / 468.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.3481, allocations: 4.391 MB / 472.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3481, allocations: 2.438 kB / 472.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3482, allocations: 0 / 472.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3482, allocations: 0 / 472.9 MB, free: 2.398 MB / 366.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.002948/0.3511, allocations: 0.9509 MB / 473.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3511, allocations: 13.09 kB / 473.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.3512, allocations: 7.859 kB / 473.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3514, allocations: 196.7 kB / 474 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3514, allocations: 4 kB / 474 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3514, allocations: 3.781 kB / 474 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3516, allocations: 73.28 kB / 474.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3516, allocations: 0 / 474.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3516, allocations: 4 kB / 474.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3516, allocations: 5.812 kB / 474.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3518, allocations: 31.28 kB / 474.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.352, allocations: 184.5 kB / 474.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.3523, allocations: 97.97 kB / 474.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.3524, allocations: 35.73 kB / 474.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.3524, allocations: 8.875 kB / 474.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3525, allocations: 35.69 kB / 474.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3525, allocations: 2.438 kB / 474.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003305/0.3528, allocations: 104.3 kB / 474.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3528, allocations: 82.42 kB / 474.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.353, allocations: 138.7 kB / 474.8 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.353, allocations: 27.8 kB / 474.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.353, allocations: 84.14 kB / 474.9 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3531, allocations: 22.52 kB / 475 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3531, allocations: 27.17 kB / 475 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3533, allocations: 317.1 kB / 475.3 MB, free: 220 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.3533, allocations: 19.27 kB / 475.3 MB, free: 212 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.3534, allocations: 31.45 kB / 475.3 MB, free: 188 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3535, allocations: 55.75 kB / 475.4 MB, free: 152 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3535, allocations: 1.375 kB / 475.4 MB, free: 152 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001931/0.3537, allocations: 77.88 kB / 475.5 MB, free: 104 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3537, allocations: 5.5 kB / 475.5 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3537, allocations: 1.75 kB / 475.5 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3537, allocations: 5.312 kB / 475.5 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.3538, allocations: 17.56 kB / 475.5 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3538, allocations: 5.703 kB / 475.5 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3539, allocations: 5.328 kB / 475.5 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3539, allocations: 2.75 kB / 475.5 MB, free: 84 kB / 366.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 0.0001006/0.354, allocations: 116.5 kB / 475.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.354, allocations: 4.125 kB / 475.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3542, allocations: 99.38 kB / 475.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3543, allocations: 5.406 kB / 475.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3543, allocations: 1.531 kB / 475.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3543, allocations: 0 / 475.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3544, allocations: 182.3 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3544, allocations: 3.984 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.3545, allocations: 14.19 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3545, allocations: 0.5625 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3545, allocations: 2.469 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3545, allocations: 0 / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3545, allocations: 1.469 kB / 475.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.3547, allocations: 114.8 kB / 476 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.3548, allocations: 96.39 kB / 476.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3548, allocations: 1 kB / 476.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.3549, allocations: 10.86 kB / 476.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3549, allocations: 8.547 kB / 476.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.355, allocations: 2.625 kB / 476.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.355, allocations: 119.9 kB / 476.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 1.625 kB / 476.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002926/0.358, allocations: 0.9533 MB / 477.2 MB, free: 15.13 MB / 382.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.004598/0.3626, allocations: 1.351 MB / 478.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3628, allocations: 51.91 kB / 478.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3628, allocations: 0 / 478.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.3629, allocations: 27.81 kB / 478.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3631, allocations: 14.12 kB / 478.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.3636, allocations: 211.5 kB / 478.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3639, allocations: 0.6885 MB / 479.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.3639, allocations: 15.44 kB / 479.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3639, allocations: 0 / 479.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of Templates: time 0.02918/0.3931, allocations: 18.38 MB / 498 MB, free: 10.4 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.639143879059702]