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.0008815/0.0008815, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003445/0.003445, allocations: 160.6 kB / 24.7 MB, free: 9.43 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.872/0.872, allocations: 177.1 MB / 205 MB, free: 5.738 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 1.553e-06/1.553e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.547e-05, allocations: 12.69 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001835/0.00187, allocations: 1.347 MB / 327.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2827/0.2846, allocations: 130.7 MB / 457.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.2846, allocations: 2.312 kB / 457.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.2847, allocations: 5.016 kB / 457.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.2854, allocations: 244.1 kB / 458.1 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.286, allocations: 420 kB / 458.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.2861, allocations: 58.69 kB / 458.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.2861, allocations: 2.781 kB / 458.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.2862, allocations: 36.89 kB / 458.6 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.2863, allocations: 23.59 kB / 458.6 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2863, allocations: 1.281 kB / 458.6 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.2869, allocations: 0.5778 MB / 459.2 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2869, allocations: 9.469 kB / 459.2 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.2869, allocations: 16.64 kB / 459.2 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.2874, allocations: 0.5317 MB / 459.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2874, allocations: 0 / 459.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2874, allocations: 0 / 459.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2874, allocations: 0.875 kB / 459.7 MB, free: 6.195 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.0003554/0.2878, allocations: 360.6 kB / 460.1 MB, free: 5.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2878, allocations: 10.62 kB / 460.1 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006785/0.2885, allocations: 110 kB / 460.2 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2886, allocations: 171.2 kB / 460.4 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2886, allocations: 0.5625 kB / 460.4 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.2887, allocations: 12.52 kB / 460.4 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.2888, allocations: 92.66 kB / 460.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2888, allocations: 0.75 kB / 460.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2888, allocations: 3.812 kB / 460.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2888, allocations: 4.469 kB / 460.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.2889, allocations: 44.12 kB / 460.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2891, allocations: 153.8 kB / 460.7 MB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.2894, allocations: 120.1 kB / 460.8 MB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.2894, allocations: 44.03 kB / 460.8 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.2896, allocations: 93.72 kB / 460.9 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2896, allocations: 42.52 kB / 461 MB, free: 5.449 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2896, allocations: 0.9375 kB / 461 MB, free: 5.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002985/0.2899, allocations: 131.5 kB / 461.1 MB, free: 5.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.2899, allocations: 80.86 kB / 461.2 MB, free: 5.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.29, allocations: 155.1 kB / 461.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.29, allocations: 31.8 kB / 461.4 MB, free: 5.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.463e-05/0.2901, allocations: 80.14 kB / 461.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.2901, allocations: 26.19 kB / 461.5 MB, free: 5.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.2901, allocations: 33.27 kB / 461.5 MB, free: 5.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.591e-05/0.2902, allocations: 314.2 kB / 461.8 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.2902, allocations: 27.98 kB / 461.8 MB, free: 4.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.2903, allocations: 54.08 kB / 461.9 MB, free: 4.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.2904, allocations: 80.52 kB / 462 MB, free: 4.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2904, allocations: 3.625 kB / 462 MB, free: 4.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001801/0.2906, allocations: 125.4 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2906, allocations: 5.156 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2906, allocations: 3.219 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2906, allocations: 3.188 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.2907, allocations: 29.62 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2907, allocations: 3.188 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.2907, allocations: 4.062 kB / 462.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2908, allocations: 13.73 kB / 462.2 MB, free: 4.664 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 3.995e-05/0.2908, allocations: 115.9 kB / 462.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.2908, allocations: 12.3 kB / 462.3 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.2912, allocations: 246.7 kB / 462.5 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2912, allocations: 0 / 462.5 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2912, allocations: 3.672 kB / 462.5 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2912, allocations: 3.984 kB / 462.5 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.528e-05/0.2913, allocations: 158.9 kB / 462.7 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2913, allocations: 6.938 kB / 462.7 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.2914, allocations: 21.05 kB / 462.7 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2914, allocations: 8.344 kB / 462.7 MB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2914, allocations: 5.141 kB / 462.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2914, allocations: 0 / 462.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2914, allocations: 0.8438 kB / 462.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.2916, allocations: 181.9 kB / 462.9 MB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2916, allocations: 18.28 kB / 462.9 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2917, allocations: 4.844 kB / 462.9 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.2917, allocations: 4.328 kB / 462.9 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2918, allocations: 15.42 kB / 462.9 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2918, allocations: 5.781 kB / 463 MB, free: 4.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.2918, allocations: 130.5 kB / 463.1 MB, free: 4.203 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2918, allocations: 2.656 kB / 463.1 MB, free: 4.203 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.2921, allocations: 131.8 kB / 463.2 MB, free: 4.18 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.0004084/0.2925, allocations: 319.7 kB / 463.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2927, allocations: 72.66 kB / 463.6 MB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2927, allocations: 3.25 kB / 463.6 MB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.2928, allocations: 43.34 kB / 463.6 MB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.293, allocations: 8.906 kB / 463.7 MB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.2933, allocations: 281.5 kB / 463.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.991e-05/0.2934, allocations: 78.94 kB / 464 MB, free: 3.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.2935, allocations: 45.5 kB / 464 MB, free: 3.797 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2935, allocations: 1 kB / 464 MB, free: 3.797 MB / 410.7 MB Notification: Performance of Templates: time 0.004361/0.2978, allocations: 4.256 MB / 468.3 MB, free: 3.418 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.434106935746968]