Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.0008043/0.0008043, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00314/0.00314, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8146/0.8146, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.951e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001441/0.001461, allocations: 1.344 MB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2786/0.28, allocations: 130.7 MB / 457.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.2801, allocations: 0 / 457.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.2801, allocations: 7.125 kB / 457.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007123/0.2808, allocations: 246 kB / 458 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.2814, allocations: 414.7 kB / 458.4 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.2815, allocations: 62.64 kB / 458.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.2815, allocations: 2.375 kB / 458.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.2816, allocations: 31.11 kB / 458.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.2817, allocations: 30.55 kB / 458.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2817, allocations: 1.312 kB / 458.5 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.2822, allocations: 0.5771 MB / 459.1 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.2822, allocations: 7.453 kB / 459.1 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.2823, allocations: 18.08 kB / 459.1 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.2827, allocations: 0.5272 MB / 459.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2827, allocations: 4.5 kB / 459.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2827, allocations: 2.859 kB / 459.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2827, allocations: 0 / 459.7 MB, free: 6.18 MB / 410.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.0003588/0.2831, allocations: 359.5 kB / 460 MB, free: 5.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2831, allocations: 13.25 kB / 460 MB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.2838, allocations: 112.1 kB / 460.2 MB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2839, allocations: 164.6 kB / 460.3 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2839, allocations: 4.188 kB / 460.3 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.284, allocations: 6.25 kB / 460.3 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2841, allocations: 97.25 kB / 460.4 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2841, allocations: 2.875 kB / 460.4 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2841, allocations: 0.8438 kB / 460.4 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2841, allocations: 3.938 kB / 460.4 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.2842, allocations: 44.53 kB / 460.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.2843, allocations: 154.3 kB / 460.6 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.2846, allocations: 119.9 kB / 460.7 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.2847, allocations: 45.09 kB / 460.8 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.2848, allocations: 89.97 kB / 460.9 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.2848, allocations: 44.94 kB / 460.9 MB, free: 5.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2848, allocations: 0 / 460.9 MB, free: 5.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002745/0.2851, allocations: 131.8 kB / 461 MB, free: 5.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2851, allocations: 80.52 kB / 461.1 MB, free: 5.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2852, allocations: 160.3 kB / 461.3 MB, free: 5.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.2852, allocations: 26.67 kB / 461.3 MB, free: 5.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.2852, allocations: 86.08 kB / 461.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2853, allocations: 23.83 kB / 461.4 MB, free: 5.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.2853, allocations: 35.36 kB / 461.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.961e-05/0.2853, allocations: 316.2 kB / 461.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.2854, allocations: 28.64 kB / 461.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.2854, allocations: 57.03 kB / 461.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2856, allocations: 81.98 kB / 461.9 MB, free: 4.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2856, allocations: 1.031 kB / 461.9 MB, free: 4.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001688/0.2857, allocations: 125.5 kB / 462 MB, free: 4.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.2857, allocations: 5.469 kB / 462 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2857, allocations: 6.562 kB / 462.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2858, allocations: 1.094 kB / 462.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.2858, allocations: 24.92 kB / 462.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2858, allocations: 3.125 kB / 462.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.2859, allocations: 5.719 kB / 462.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2859, allocations: 13.28 kB / 462.1 MB, free: 4.641 MB / 410.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 4.008e-05/0.2859, allocations: 113.1 kB / 462.2 MB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.286, allocations: 16.77 kB / 462.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.2863, allocations: 248.2 kB / 462.5 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2863, allocations: 2.859 kB / 462.5 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2863, allocations: 0 / 462.5 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2863, allocations: 1.203 kB / 462.5 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.349e-05/0.2864, allocations: 154.6 kB / 462.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2864, allocations: 0 / 462.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.2865, allocations: 29.05 kB / 462.7 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2865, allocations: 0.9375 kB / 462.7 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2865, allocations: 6.656 kB / 462.7 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2865, allocations: 2.875 kB / 462.7 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2865, allocations: 0 / 462.7 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.2867, allocations: 180.2 kB / 462.8 MB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.2868, allocations: 20.73 kB / 462.9 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2868, allocations: 3.938 kB / 462.9 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.2868, allocations: 6.031 kB / 462.9 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.2869, allocations: 12.55 kB / 462.9 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2869, allocations: 4 kB / 462.9 MB, free: 4.262 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.287, allocations: 133.3 kB / 463 MB, free: 4.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.287, allocations: 1 kB / 463 MB, free: 4.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.2872, allocations: 133.7 kB / 463.1 MB, free: 4.16 MB / 410.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.0003804/0.2876, allocations: 317.3 kB / 463.5 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2878, allocations: 77.69 kB / 463.5 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2878, allocations: 0 / 463.5 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.2878, allocations: 38.61 kB / 463.6 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.288, allocations: 17.39 kB / 463.6 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.2883, allocations: 287.5 kB / 463.9 MB, free: 3.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.2884, allocations: 72.52 kB / 463.9 MB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.2885, allocations: 45.25 kB / 464 MB, free: 3.781 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2885, allocations: 3.094 kB / 464 MB, free: 3.781 MB / 410.7 MB Notification: Performance of Templates: time 0.003856/0.2923, allocations: 4.255 MB / 468.2 MB, free: 3.391 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.610692451708019]