Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.002047/0.002047, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002543/0.002543, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 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.48/1.48, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.359e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002414/0.002437, allocations: 1.337 MB / 268.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2723/0.2747, allocations: 127.8 MB / 396.5 MB, free: 7.266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.2747, allocations: 0 / 396.5 MB, free: 7.266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2748, allocations: 3.984 kB / 396.5 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009664/0.2757, allocations: 243 kB / 396.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2768, allocations: 412.1 kB / 397.1 MB, free: 6.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2769, allocations: 59.61 kB / 397.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.277, allocations: 4 kB / 397.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.277, allocations: 35.89 kB / 397.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.2771, allocations: 27.91 kB / 397.2 MB, free: 6.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2771, allocations: 4 kB / 397.2 MB, free: 6.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.2783, allocations: 0.5612 MB / 397.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.2783, allocations: 7.984 kB / 397.8 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.2783, allocations: 19.92 kB / 397.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.2792, allocations: 0.526 MB / 398.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2792, allocations: 0 / 398.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2792, allocations: 4 kB / 398.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.2792, allocations: 0 / 398.3 MB, free: 5.383 MB / 346.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.0006105/0.2798, allocations: 357.5 kB / 398.7 MB, free: 5.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2799, allocations: 8.922 kB / 398.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.2811, allocations: 100.8 kB / 398.8 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.2814, allocations: 197.6 kB / 399 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2814, allocations: 8.562 kB / 399 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.2815, allocations: 3.938 kB / 399 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.2817, allocations: 95.33 kB / 399.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2817, allocations: 0 / 399.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2817, allocations: 0 / 399.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2817, allocations: 4 kB / 399.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.2819, allocations: 47.88 kB / 399.1 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.2822, allocations: 146.6 kB / 399.3 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.2827, allocations: 121.1 kB / 399.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.2829, allocations: 45.69 kB / 399.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.2831, allocations: 92.58 kB / 399.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.2832, allocations: 38.5 kB / 399.6 MB, free: 4.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2832, allocations: 0 / 399.6 MB, free: 4.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005603/0.2837, allocations: 137.5 kB / 399.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2838, allocations: 77.11 kB / 399.8 MB, free: 3.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.2841, allocations: 153.8 kB / 399.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2841, allocations: 33.7 kB / 400 MB, free: 3.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.2842, allocations: 80.14 kB / 400.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.2842, allocations: 23.84 kB / 400.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.2843, allocations: 33.69 kB / 400.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2845, allocations: 318.8 kB / 400.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2846, allocations: 23.98 kB / 400.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2847, allocations: 51.41 kB / 400.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.285, allocations: 87.33 kB / 400.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.285, allocations: 0 / 400.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004017/0.2854, allocations: 129.4 kB / 400.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2854, allocations: 4 kB / 400.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2854, allocations: 4 kB / 400.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2854, allocations: 3.984 kB / 400.7 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2856, allocations: 27.97 kB / 400.7 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2856, allocations: 0 / 400.7 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2858, allocations: 15.94 kB / 400.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.2858, allocations: 8.453 kB / 400.8 MB, free: 2.734 MB / 346.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 0.0001117/0.2859, allocations: 117.8 kB / 400.9 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.286, allocations: 11.89 kB / 400.9 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.2866, allocations: 250 kB / 401.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2866, allocations: 4 kB / 401.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2866, allocations: 5 kB / 401.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2866, allocations: 0 / 401.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.2869, allocations: 154.8 kB / 401.3 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2869, allocations: 0 / 401.3 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2871, allocations: 19.97 kB / 401.3 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2871, allocations: 0 / 401.3 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.2871, allocations: 7.938 kB / 401.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2871, allocations: 3.438 kB / 401.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2871, allocations: 0 / 401.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.2876, allocations: 185.8 kB / 401.5 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2877, allocations: 47.84 kB / 401.6 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.2877, allocations: 7.938 kB / 401.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2879, allocations: 3.984 kB / 401.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.288, allocations: 15.92 kB / 401.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.288, allocations: 4 kB / 401.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.2882, allocations: 127.2 kB / 401.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2882, allocations: 0 / 401.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007129/0.2889, allocations: 131.6 kB / 401.8 MB, free: 1.602 MB / 346.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.0008372/0.2897, allocations: 344.4 kB / 402.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.29, allocations: 75.88 kB / 402.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2901, allocations: 0 / 402.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2902, allocations: 35.92 kB / 402.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2905, allocations: 32.08 kB / 402.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.291, allocations: 261 kB / 402.6 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.985e-05/0.2911, allocations: 67.97 kB / 402.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000647/0.2918, allocations: 437.1 kB / 403.1 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2919, allocations: 36.45 kB / 403.1 MB, free: 320 kB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2919, allocations: 0 / 403.1 MB, free: 320 kB / 346.7 MB Notification: Performance of Templates: time 0.01167/0.3036, allocations: 5.61 MB / 408.7 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.570504728006199]