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.001007/0.001007, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.000979/0.000979, allocations: 164.7 kB / 25.33 MB, free: 8.594 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.8352/0.8352, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.573e-06/1.573e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.82e-05, allocations: 6.25 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.005213/0.005241, allocations: 1.386 MB / 252.4 MB, free: 6.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2677/0.2729, allocations: 143.3 MB / 395.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.273, allocations: 4 kB / 395.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.273, allocations: 6.516 kB / 395.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008793/0.2739, allocations: 238 kB / 396 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2752, allocations: 0.642 MB / 396.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2753, allocations: 62.16 kB / 396.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.2753, allocations: 0 / 396.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.2754, allocations: 33.14 kB / 396.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.2755, allocations: 26.17 kB / 396.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2755, allocations: 3.062 kB / 396.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.2767, allocations: 0.765 MB / 397.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2768, allocations: 10.3 kB / 397.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2768, allocations: 21.97 kB / 397.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.2778, allocations: 0.6732 MB / 398.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2778, allocations: 3.984 kB / 398.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2778, allocations: 0 / 398.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2778, allocations: 1.203 kB / 398.2 MB, free: 10.07 MB / 330.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.0004719/0.2783, allocations: 484.5 kB / 398.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2783, allocations: 13.23 kB / 398.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005975/0.2789, allocations: 88.66 kB / 398.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2792, allocations: 234.4 kB / 399 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2792, allocations: 6.031 kB / 399 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.2792, allocations: 3.906 kB / 399 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2794, allocations: 103.4 kB / 399.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2794, allocations: 2.469 kB / 399.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2794, allocations: 0 / 399.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2794, allocations: 3.984 kB / 399.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.2795, allocations: 44.89 kB / 399.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.2796, allocations: 160.1 kB / 399.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.2799, allocations: 149.2 kB / 399.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.28, allocations: 40.88 kB / 399.5 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.2801, allocations: 89.23 kB / 399.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2802, allocations: 35.95 kB / 399.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.2802, allocations: 0 / 399.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002569/0.2804, allocations: 136.8 kB / 399.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2804, allocations: 77.11 kB / 399.8 MB, free: 8.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2806, allocations: 224.9 kB / 400.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.2806, allocations: 30.84 kB / 400.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.2806, allocations: 136.2 kB / 400.2 MB, free: 8.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2806, allocations: 22.84 kB / 400.2 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.2807, allocations: 31.86 kB / 400.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.2807, allocations: 0.4905 MB / 400.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.2807, allocations: 18.45 kB / 400.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/0.2808, allocations: 62.44 kB / 400.8 MB, free: 7.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.2809, allocations: 94.11 kB / 400.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.2809, allocations: 0 / 400.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001626/0.281, allocations: 125.4 kB / 401.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2811, allocations: 9.594 kB / 401.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2811, allocations: 1.672 kB / 401.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2811, allocations: 2.875 kB / 401.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.2812, allocations: 26.12 kB / 401.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2812, allocations: 0 / 401.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.2812, allocations: 14.67 kB / 401.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2812, allocations: 9.828 kB / 401.1 MB, free: 7.672 MB / 330.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.747e-05/0.2813, allocations: 155.8 kB / 401.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.2813, allocations: 13.73 kB / 401.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2816, allocations: 196 kB / 401.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2816, allocations: 2.656 kB / 401.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2816, allocations: 0 / 401.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.2816, allocations: 7.875 kB / 401.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.005e-05/0.2817, allocations: 149 kB / 401.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2817, allocations: 0 / 401.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.2818, allocations: 24.09 kB / 401.7 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2818, allocations: 2.5 kB / 401.7 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2818, allocations: 0 / 401.7 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2818, allocations: 6.688 kB / 401.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2818, allocations: 0 / 401.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.282, allocations: 158.2 kB / 401.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.282, allocations: 54.98 kB / 401.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2821, allocations: 0 / 401.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.2821, allocations: 7.094 kB / 401.9 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.2822, allocations: 10.23 kB / 401.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2822, allocations: 6.625 kB / 401.9 MB, free: 7.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.654e-05/0.2823, allocations: 189.8 kB / 402.1 MB, free: 6.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2823, allocations: 0 / 402.1 MB, free: 6.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.2827, allocations: 176.8 kB / 402.3 MB, free: 6.918 MB / 330.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.0006547/0.2833, allocations: 418.1 kB / 402.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.2835, allocations: 75.98 kB / 402.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2835, allocations: 0 / 402.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.2835, allocations: 42.38 kB / 402.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.2837, allocations: 33.95 kB / 402.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.2843, allocations: 280.6 kB / 403.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.355e-05/0.2844, allocations: 57.67 kB / 403.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.2847, allocations: 438.1 kB / 403.6 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.2848, allocations: 45.73 kB / 403.6 MB, free: 6.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2848, allocations: 0 / 403.6 MB, free: 6.16 MB / 330.7 MB Notification: Performance of Templates: time 0.009267/0.294, allocations: 9.189 MB / 412.8 MB, free: 0.9531 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.839684649836272]