Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008877/0.0008877, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009372/0.0009372, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9496/0.9496, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/4e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.004168/0.004208, allocations: 1.395 MB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.266/0.2702, allocations: 141.9 MB / 416.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.2703, allocations: 0 / 416.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.2703, allocations: 3.938 kB / 416.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009681/0.2713, allocations: 254.2 kB / 416.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.2722, allocations: 411.7 kB / 417.3 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2724, allocations: 51.67 kB / 417.4 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.2724, allocations: 11.97 kB / 417.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.2725, allocations: 23.98 kB / 417.4 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.2726, allocations: 27.91 kB / 417.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2726, allocations: 0 / 417.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009785/0.2736, allocations: 0.5767 MB / 418 MB, free: 304 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.2736, allocations: 11.92 kB / 418 MB, free: 292 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.2736, allocations: 19.92 kB / 418 MB, free: 272 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.2747, allocations: 0.5221 MB / 418.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2747, allocations: 7.984 kB / 418.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2747, allocations: 0 / 418.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2747, allocations: 3.938 kB / 418.6 MB, free: 15.73 MB / 378.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.000503/0.2752, allocations: 453 kB / 419 MB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2753, allocations: 12.03 kB / 419 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/0.276, allocations: 109.4 kB / 419.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.2762, allocations: 225.7 kB / 419.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2763, allocations: 8.5 kB / 419.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2763, allocations: 7.938 kB / 419.4 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2764, allocations: 102.3 kB / 419.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2764, allocations: 0 / 419.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2765, allocations: 3.984 kB / 419.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2765, allocations: 0 / 419.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.2765, allocations: 43.89 kB / 419.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.2767, allocations: 130.2 kB / 419.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.277, allocations: 138.1 kB / 419.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.277, allocations: 43.34 kB / 419.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.2772, allocations: 101.1 kB / 419.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2772, allocations: 41.38 kB / 419.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2772, allocations: 0 / 419.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002596/0.2775, allocations: 121.4 kB / 420.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2775, allocations: 81.09 kB / 420.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2777, allocations: 218.8 kB / 420.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2777, allocations: 25.7 kB / 420.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.2777, allocations: 135.5 kB / 420.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.2778, allocations: 27.78 kB / 420.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.2778, allocations: 35.34 kB / 420.6 MB, free: 13.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2779, allocations: 496.1 kB / 421.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.278, allocations: 23.97 kB / 421.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.278, allocations: 60.69 kB / 421.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.2781, allocations: 92.16 kB / 421.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2781, allocations: 0 / 421.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001699/0.2783, allocations: 117.5 kB / 421.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2783, allocations: 7.938 kB / 421.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2783, allocations: 4 kB / 421.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2783, allocations: 0 / 421.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.2784, allocations: 26.72 kB / 421.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.2784, allocations: 3.938 kB / 421.4 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.2785, allocations: 8 kB / 421.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2785, allocations: 7.984 kB / 421.4 MB, free: 12.64 MB / 378.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 8.131e-05/0.2786, allocations: 156.6 kB / 421.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2786, allocations: 12.02 kB / 421.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.2789, allocations: 176.3 kB / 421.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.2789, allocations: 0 / 421.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.2789, allocations: 4 kB / 421.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2789, allocations: 0 / 421.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.279, allocations: 126.6 kB / 421.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.279, allocations: 4 kB / 421.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.2791, allocations: 27.91 kB / 421.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2791, allocations: 4 kB / 421.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2791, allocations: 0 / 421.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2792, allocations: 4 kB / 421.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2792, allocations: 3.938 kB / 421.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.2794, allocations: 151.9 kB / 422.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.2794, allocations: 47.88 kB / 422.1 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2794, allocations: 3.75 kB / 422.1 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.2795, allocations: 4 kB / 422.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2795, allocations: 11.92 kB / 422.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2796, allocations: 12.02 kB / 422.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.616e-05/0.2797, allocations: 179.1 kB / 422.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2797, allocations: 0 / 422.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.28, allocations: 131.6 kB / 422.4 MB, free: 11.54 MB / 378.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.000466/0.2805, allocations: 328 kB / 422.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.2807, allocations: 63.7 kB / 422.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2807, allocations: 4 kB / 422.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.2807, allocations: 39.59 kB / 422.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.2809, allocations: 34.55 kB / 422.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/0.2815, allocations: 269.8 kB / 423.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.2816, allocations: 68.17 kB / 423.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003689/0.2819, allocations: 428.2 kB / 423.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2821, allocations: 114.1 kB / 423.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.133e-06/0.2821, allocations: 0 / 423.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01043/0.2925, allocations: 7.412 MB / 431.2 MB, free: 2.809 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0967272548004985]