Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2364, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002373/0.2388, allocations: 1.37 MB / 422.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.27, allocations: 23.73 MB / 446 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.2701, allocations: 0 / 446 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2702, allocations: 7.922 kB / 446 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.2852, allocations: 6.002 MB / 452 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.286, allocations: 346.8 kB / 452.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.2861, allocations: 75.7 kB / 452.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.2862, allocations: 7.984 kB / 452.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.2862, allocations: 35.75 kB / 452.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.2863, allocations: 31.89 kB / 452.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2863, allocations: 4 kB / 452.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/0.3031, allocations: 8.972 MB / 461.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.3032, allocations: 19.91 kB / 461.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.3033, allocations: 31.86 kB / 461.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009531/0.3128, allocations: 4.362 MB / 465.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3128, allocations: 7.938 kB / 465.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3128, allocations: 0 / 465.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3128, allocations: 0 / 465.9 MB, free: 1.98 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.002123/0.3149, allocations: 0.9511 MB / 466.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.315, allocations: 8.031 kB / 466.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.315, allocations: 4.938 kB / 466.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3152, allocations: 195.9 kB / 467 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3152, allocations: 3.938 kB / 467 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3152, allocations: 8 kB / 467 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3154, allocations: 63.39 kB / 467.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3154, allocations: 0 / 467.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3155, allocations: 7.938 kB / 467.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3155, allocations: 4 kB / 467.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3156, allocations: 35.97 kB / 467.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.3158, allocations: 194.4 kB / 467.3 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3162, allocations: 101.1 kB / 467.4 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.3162, allocations: 33.77 kB / 467.5 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.3163, allocations: 11.98 kB / 467.5 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3163, allocations: 34.56 kB / 467.5 MB, free: 152 kB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3163, allocations: 0 / 467.5 MB, free: 152 kB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003208/0.3167, allocations: 97.92 kB / 467.6 MB, free: 48 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.3167, allocations: 81.11 kB / 467.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3169, allocations: 137.8 kB / 467.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3169, allocations: 25.7 kB / 467.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3169, allocations: 88.14 kB / 467.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.317, allocations: 15.84 kB / 467.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.317, allocations: 25.66 kB / 468 MB, free: 15.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3172, allocations: 322.8 kB / 468.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.3172, allocations: 16 kB / 468.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.3173, allocations: 29.7 kB / 468.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3174, allocations: 57.72 kB / 468.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3174, allocations: 3.938 kB / 468.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001958/0.3176, allocations: 85.56 kB / 468.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3176, allocations: 4 kB / 468.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3176, allocations: 0 / 468.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3176, allocations: 8 kB / 468.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.3177, allocations: 11.98 kB / 468.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3177, allocations: 0 / 468.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.3178, allocations: 8.125 kB / 468.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3178, allocations: 384 / 468.5 MB, free: 15.07 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 9.714e-05/0.3179, allocations: 129.6 kB / 468.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3179, allocations: 7.953 kB / 468.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3181, allocations: 101.5 kB / 468.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3181, allocations: 7.875 kB / 468.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3182, allocations: 4 kB / 468.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3182, allocations: 0 / 468.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3183, allocations: 177.6 kB / 468.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3183, allocations: 0 / 468.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.3184, allocations: 8 kB / 468.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3184, allocations: 0 / 468.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3184, allocations: 4 kB / 468.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3184, allocations: 0 / 468.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3184, allocations: 0 / 468.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3186, allocations: 121.8 kB / 469 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.3187, allocations: 93.03 kB / 469.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3187, allocations: 0 / 469.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3188, allocations: 4 kB / 469.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.3188, allocations: 7.984 kB / 469.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3189, allocations: 4 kB / 469.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.612e-05/0.319, allocations: 115.3 kB / 469.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.319, allocations: 0 / 469.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002414/0.3214, allocations: 0.9508 MB / 470.2 MB, free: 13.25 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.004074/0.3254, allocations: 1.335 MB / 471.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3257, allocations: 47.91 kB / 471.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3257, allocations: 0 / 471.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.3258, allocations: 28.27 kB / 471.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.326, allocations: 15.92 kB / 471.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.3265, allocations: 196.5 kB / 471.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3267, allocations: 0.6846 MB / 472.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.3268, allocations: 15.97 kB / 472.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3268, allocations: 11.44 kB / 472.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3268, allocations: 0 / 472.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Templates: time 0.03955/0.3664, allocations: 27.11 MB / 499.7 MB, free: 15.72 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.417281775735319]