Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001381/0.001381, allocations: 85.95 kB / 23 MB, free: 1.5 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.001072/0.001072, allocations: 176.8 kB / 26.4 MB, free: 7.758 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.9113/0.9113, allocations: 158.6 MB / 188.3 MB, free: 2.812 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 4 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.95e-05, allocations: 2.312 kB / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002755/0.002785, allocations: 1.394 MB / 253.6 MB, free: 5.848 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2763/0.2791, allocations: 140.9 MB / 394.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.2792, allocations: 0 / 394.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.2792, allocations: 11.47 kB / 394.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.2803, allocations: 371.1 kB / 394.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.2818, allocations: 0.8212 MB / 395.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2819, allocations: 80.86 kB / 395.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.2819, allocations: 3.062 kB / 395.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.282, allocations: 50.2 kB / 395.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.2821, allocations: 27.94 kB / 395.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2821, allocations: 2.906 kB / 395.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.2837, allocations: 1.195 MB / 397.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.2838, allocations: 15.12 kB / 397.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.2838, allocations: 23.11 kB / 397.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2851, allocations: 0.9339 MB / 398.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2851, allocations: 11.42 kB / 398.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2851, allocations: 0 / 398.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.2851, allocations: 0 / 398.1 MB, free: 10.14 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.0005462/0.2857, allocations: 0.5001 MB / 398.6 MB, free: 9.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2857, allocations: 11.92 kB / 398.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.2859, allocations: 42.66 kB / 398.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.076e-05/0.286, allocations: 130.3 kB / 398.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.286, allocations: 3.781 kB / 398.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.286, allocations: 6.5 kB / 398.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/0.2861, allocations: 76.48 kB / 398.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2861, allocations: 3.938 kB / 398.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.2861, allocations: 4 kB / 398.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2861, allocations: 3.125 kB / 398.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.2861, allocations: 9.766 kB / 398.9 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.2862, allocations: 120.4 kB / 399 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.2864, allocations: 86.34 kB / 399.1 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.2864, allocations: 24.44 kB / 399.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.2866, allocations: 50.08 kB / 399.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2866, allocations: 43.41 kB / 399.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2866, allocations: 3.938 kB / 399.2 MB, free: 9.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000146/0.2868, allocations: 70.17 kB / 399.3 MB, free: 9.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.2868, allocations: 87.98 kB / 399.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.2868, allocations: 180.6 kB / 399.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.2868, allocations: 25.7 kB / 399.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.2869, allocations: 144.6 kB / 399.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.2869, allocations: 24.06 kB / 399.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.2869, allocations: 32.47 kB / 399.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.287, allocations: 499.8 kB / 400.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.287, allocations: 9.234 kB / 400.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.287, allocations: 40.5 kB / 400.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.2871, allocations: 58.86 kB / 400.3 MB, free: 7.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2871, allocations: 0 / 400.3 MB, free: 7.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.955e-05/0.2872, allocations: 71.81 kB / 400.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2872, allocations: 9.703 kB / 400.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2872, allocations: 0 / 400.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2872, allocations: 2.094 kB / 400.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.2872, allocations: 19.38 kB / 400.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.2872, allocations: 2.375 kB / 400.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.2873, allocations: 11.02 kB / 400.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2873, allocations: 5.875 kB / 400.5 MB, free: 7.93 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 3.962e-05/0.2873, allocations: 156.6 kB / 400.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.2873, allocations: 12.7 kB / 400.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2874, allocations: 84.05 kB / 400.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.2874, allocations: 0 / 400.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2874, allocations: 3.938 kB / 400.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2874, allocations: 0 / 400.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.269e-05/0.2875, allocations: 106.3 kB / 400.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2875, allocations: 0 / 400.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.2876, allocations: 14.55 kB / 400.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2876, allocations: 5.125 kB / 400.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2876, allocations: 6.125 kB / 400.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2876, allocations: 3.938 kB / 400.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2876, allocations: 4 kB / 400.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2877, allocations: 124.5 kB / 401 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.2877, allocations: 14.12 kB / 401 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2877, allocations: 3.719 kB / 401 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.2878, allocations: 3.984 kB / 401 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.2878, allocations: 6.203 kB / 401 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.2878, allocations: 10.28 kB / 401 MB, free: 7.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.962e-05/0.2878, allocations: 139.3 kB / 401.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2878, allocations: 0 / 401.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000456/0.2883, allocations: 203.4 kB / 401.3 MB, free: 7.281 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0008235/0.2891, allocations: 0.5633 MB / 401.9 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.2892, allocations: 39.08 kB / 401.9 MB, free: 7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.2892, allocations: 0 / 401.9 MB, free: 7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.2892, allocations: 23.55 kB / 402 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2894, allocations: 39.02 kB / 402 MB, free: 6.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.2899, allocations: 267 kB / 402.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.869e-05/0.2899, allocations: 61.28 kB / 402.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.2899, allocations: 11.75 kB / 402.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.29, allocations: 93.98 kB / 402.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of SimCode: time 4.8e-07/0.29, allocations: 4 kB / 402.4 MB, free: 6.594 MB / 330.7 MB Notification: Performance of Templates: time 0.00781/0.2978, allocations: 8.209 MB / 410.6 MB, free: 2.188 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.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.2256272919476032]