Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001013/0.001013, allocations: 91.61 kB / 22.19 MB, free: 2.359 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.001036/0.001036, allocations: 167.3 kB / 25.45 MB, free: 9.355 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.8422/0.8422, allocations: 158.6 MB / 187.2 MB, free: 3.023 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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.165e-05, allocations: 6.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001558/0.00158, allocations: 1.322 MB / 301 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2659/0.2675, allocations: 129.2 MB / 430.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.2676, allocations: 3.938 kB / 430.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.2676, allocations: 7.922 kB / 430.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008259/0.2684, allocations: 244.1 kB / 430.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.2695, allocations: 0.6408 MB / 431.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.2696, allocations: 63.66 kB / 431.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.2696, allocations: 3.984 kB / 431.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.2696, allocations: 27.92 kB / 431.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.2697, allocations: 31.89 kB / 431.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2697, allocations: 4 kB / 431.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.2707, allocations: 0.7677 MB / 432 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2708, allocations: 7.984 kB / 432 MB, free: 7.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.2708, allocations: 19.92 kB / 432 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.2714, allocations: 0.6664 MB / 432.7 MB, free: 6.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2714, allocations: 3.984 kB / 432.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2714, allocations: 0 / 432.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2714, allocations: 0 / 432.7 MB, free: 6.414 MB / 362.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.0004418/0.2719, allocations: 386.7 kB / 433.1 MB, free: 6.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2719, allocations: 15.98 kB / 433.1 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.2725, allocations: 102.1 kB / 433.2 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.2727, allocations: 161.6 kB / 433.4 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2727, allocations: 4.375 kB / 433.4 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.2727, allocations: 0.5625 kB / 433.4 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.2729, allocations: 99.27 kB / 433.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2729, allocations: 0 / 433.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2729, allocations: 0 / 433.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2729, allocations: 0 / 433.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.273, allocations: 51.89 kB / 433.5 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2731, allocations: 147.2 kB / 433.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.2734, allocations: 121.1 kB / 433.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.2735, allocations: 41.77 kB / 433.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.2737, allocations: 100.6 kB / 433.9 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2737, allocations: 38.55 kB / 433.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2737, allocations: 1.688 kB / 433.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003084/0.274, allocations: 133.4 kB / 434.1 MB, free: 4.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.274, allocations: 81.09 kB / 434.2 MB, free: 4.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.2742, allocations: 156 kB / 434.3 MB, free: 4.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2742, allocations: 25.7 kB / 434.3 MB, free: 4.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.2742, allocations: 92.12 kB / 434.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.2743, allocations: 23.78 kB / 434.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.2743, allocations: 29.7 kB / 434.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.2744, allocations: 322.8 kB / 434.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.2745, allocations: 24.91 kB / 434.8 MB, free: 4.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.2745, allocations: 51.41 kB / 434.9 MB, free: 4.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2747, allocations: 79.34 kB / 434.9 MB, free: 3.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2747, allocations: 4 kB / 434.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001992/0.2749, allocations: 129.4 kB / 435.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2749, allocations: 7.938 kB / 435.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2749, allocations: 7.938 kB / 435.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2749, allocations: 0 / 435.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.275, allocations: 27.97 kB / 435.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.275, allocations: 7.438 kB / 435.1 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.2751, allocations: 4 kB / 435.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2751, allocations: 11.98 kB / 435.1 MB, free: 3.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 6.188e-05/0.2751, allocations: 121.8 kB / 435.3 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.2752, allocations: 7.953 kB / 435.3 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.2756, allocations: 252.7 kB / 435.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2756, allocations: 0 / 435.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2756, allocations: 0 / 435.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2756, allocations: 4.516 kB / 435.5 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.2757, allocations: 162.7 kB / 435.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2757, allocations: 0 / 435.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.2758, allocations: 19.97 kB / 435.7 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2758, allocations: 4 kB / 435.7 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2758, allocations: 0 / 435.7 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2758, allocations: 3.938 kB / 435.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2758, allocations: 4 kB / 435.7 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.2761, allocations: 181.8 kB / 435.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.2761, allocations: 12 kB / 435.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.2761, allocations: 8.062 kB / 435.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.2762, allocations: 7.938 kB / 435.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.2762, allocations: 7.984 kB / 435.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.2762, allocations: 0 / 435.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.243e-05/0.2763, allocations: 139.2 kB / 436.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2763, allocations: 3.938 kB / 436.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00033/0.2766, allocations: 171.5 kB / 436.2 MB, free: 2.617 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006376/0.2773, allocations: 421.2 kB / 436.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.2775, allocations: 79.81 kB / 436.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2775, allocations: 0 / 436.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.2775, allocations: 39.91 kB / 436.8 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.2777, allocations: 15.66 kB / 436.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.2781, allocations: 279.7 kB / 437 MB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.825e-05/0.2781, allocations: 71.33 kB / 437.1 MB, free: 1.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.2782, allocations: 44.45 kB / 437.2 MB, free: 1.633 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2782, allocations: 4 kB / 437.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of Templates: time 0.004883/0.2831, allocations: 4.791 MB / 442 MB, free: 12.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 4.5036248825490475]