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.001749/0.001749, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002227/0.002227, allocations: 211.7 kB / 22.99 MB, free: 5.609 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.447/1.447, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.001877/0.001877, allocations: 59.89 kB / 376.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2343, allocations: 53.33 MB / 429.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002347/0.2366, allocations: 1.379 MB / 431.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.2664, allocations: 23.8 MB / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.2664, allocations: 0 / 455 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.99e-05/0.2665, allocations: 7.922 kB / 455 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.281, allocations: 6.012 MB / 461 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.2818, allocations: 346.8 kB / 461.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.282, allocations: 79.62 kB / 461.4 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.282, allocations: 7.938 kB / 461.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.2821, allocations: 27.92 kB / 461.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2822, allocations: 47.81 kB / 461.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2822, allocations: 8 kB / 461.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.2985, allocations: 8.991 MB / 470.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.2985, allocations: 19.92 kB / 470.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.2985, allocations: 31.84 kB / 470.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008885/0.3074, allocations: 4.389 MB / 474.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.3074, allocations: 7.984 kB / 474.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3074, allocations: 0 / 474.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3075, allocations: 0 / 474.9 MB, free: 10.42 MB / 382.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.002636/0.3101, allocations: 0.9355 MB / 475.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3101, allocations: 15.97 kB / 475.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.3102, allocations: 8.891 kB / 475.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3104, allocations: 211.8 kB / 476.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3105, allocations: 0 / 476.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3105, allocations: 0 / 476.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3107, allocations: 71.39 kB / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3107, allocations: 0 / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3107, allocations: 0 / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3107, allocations: 0 / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3108, allocations: 39.91 kB / 476.2 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.3111, allocations: 194.5 kB / 476.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.3114, allocations: 93.11 kB / 476.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.3114, allocations: 29.77 kB / 476.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.3115, allocations: 15.98 kB / 476.5 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3115, allocations: 38.56 kB / 476.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3115, allocations: 0 / 476.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.00035/0.3119, allocations: 97.55 kB / 476.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3119, allocations: 81.11 kB / 476.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3121, allocations: 133.8 kB / 476.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3121, allocations: 25.7 kB / 476.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.3122, allocations: 100.1 kB / 477 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.3122, allocations: 20.17 kB / 477 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3122, allocations: 17.72 kB / 477 MB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3124, allocations: 322.8 kB / 477.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.3125, allocations: 19.98 kB / 477.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3125, allocations: 37.58 kB / 477.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3127, allocations: 49.7 kB / 477.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3127, allocations: 0 / 477.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001866/0.3128, allocations: 81.61 kB / 477.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3129, allocations: 4 kB / 477.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3129, allocations: 3.984 kB / 477.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3129, allocations: 0 / 477.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.3129, allocations: 12 kB / 477.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3129, allocations: 128 / 477.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.313, allocations: 11.95 kB / 477.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.313, allocations: 11.92 kB / 477.6 MB, free: 7.508 MB / 382.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.0001195/0.3131, allocations: 121.8 kB / 477.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3131, allocations: 4 kB / 477.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3134, allocations: 93.97 kB / 477.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3134, allocations: 0 / 477.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3134, allocations: 96 / 477.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3134, allocations: 11.97 kB / 477.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.3136, allocations: 181.5 kB / 478 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3136, allocations: 4 kB / 478 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.3136, allocations: 15.92 kB / 478 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3136, allocations: 0 / 478 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3137, allocations: 4 kB / 478 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3137, allocations: 0 / 478 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3137, allocations: 0 / 478 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.3139, allocations: 113.9 kB / 478.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.314, allocations: 89.05 kB / 478.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.314, allocations: 0 / 478.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.314, allocations: 4 kB / 478.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3141, allocations: 11.98 kB / 478.2 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3141, allocations: 3.938 kB / 478.2 MB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.323e-05/0.3142, allocations: 111.2 kB / 478.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3142, allocations: 4 kB / 478.3 MB, free: 6.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002665/0.3169, allocations: 0.9585 MB / 479.3 MB, free: 5.684 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.004007/0.3209, allocations: 1.35 MB / 480.6 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3211, allocations: 47.91 kB / 480.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3211, allocations: 0 / 480.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.3212, allocations: 23.98 kB / 480.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3214, allocations: 22.33 kB / 480.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.3219, allocations: 180.4 kB / 480.9 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3222, allocations: 0.6846 MB / 481.6 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.3222, allocations: 24.33 kB / 481.6 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.3223, allocations: 19.44 kB / 481.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3223, allocations: 0 / 481.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of Templates: time 0.03889/0.3612, allocations: 27.29 MB / 0.497 GB, free: 7.965 MB / 414.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/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.36119728256017]