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.001255/0.001255, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009095/0.0009095, allocations: 168.4 kB / 25.69 MB, free: 8.402 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.8074/0.8074, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.074e-06/2.074e-06, allocations: 4 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.327e-06/1.14e-05, allocations: 6.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001452/0.001464, allocations: 1.39 MB / 252.9 MB, free: 5.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2273/0.2288, allocations: 143.1 MB / 396 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.2288, allocations: 3.125 kB / 396 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.2289, allocations: 6.516 kB / 396 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000789/0.2297, allocations: 370 kB / 396.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2307, allocations: 0.8334 MB / 397.2 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.2308, allocations: 76.38 kB / 397.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.752e-05/0.2308, allocations: 4.984 kB / 397.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.2309, allocations: 48.05 kB / 397.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.231, allocations: 29.45 kB / 397.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.231, allocations: 6.219 kB / 397.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.2321, allocations: 1.182 MB / 398.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.2321, allocations: 15.84 kB / 398.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.2321, allocations: 20.8 kB / 398.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.2329, allocations: 0.9394 MB / 399.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.2329, allocations: 0 / 399.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2329, allocations: 0 / 399.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.2329, allocations: 0 / 399.5 MB, free: 8.695 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.0003119/0.2332, allocations: 380.5 kB / 399.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.2332, allocations: 16.3 kB / 399.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2334, allocations: 47.36 kB / 399.9 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.535e-05/0.2335, allocations: 123.9 kB / 400.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2335, allocations: 6.719 kB / 400.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2335, allocations: 3.094 kB / 400.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.295e-05/0.2335, allocations: 80.89 kB / 400.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2336, allocations: 3.938 kB / 400.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.2336, allocations: 0 / 400.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2336, allocations: 0 / 400.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.2336, allocations: 17.55 kB / 400.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.2e-05/0.2337, allocations: 83.92 kB / 400.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2338, allocations: 77.44 kB / 400.3 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.2338, allocations: 23.81 kB / 400.3 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.234, allocations: 44.95 kB / 400.4 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.234, allocations: 36.16 kB / 400.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.02e-07/0.234, allocations: 4 kB / 400.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001111/0.2341, allocations: 57.45 kB / 400.5 MB, free: 7.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.2341, allocations: 87.94 kB / 400.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.2342, allocations: 131.9 kB / 400.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-06/0.2342, allocations: 29.64 kB / 400.7 MB, free: 7.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-06/0.2342, allocations: 89.44 kB / 400.8 MB, free: 7.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2342, allocations: 27.62 kB / 400.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.2342, allocations: 21.11 kB / 400.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.588e-05/0.2342, allocations: 320.3 kB / 401.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.2343, allocations: 12.3 kB / 401.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.2343, allocations: 30.45 kB / 401.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.2343, allocations: 53.17 kB / 401.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2343, allocations: 0 / 401.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.104e-05/0.2344, allocations: 68.86 kB / 401.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.2344, allocations: 5.438 kB / 401.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2344, allocations: 0 / 401.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.2344, allocations: 2.531 kB / 401.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.491e-05/0.2344, allocations: 23.27 kB / 401.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2344, allocations: 6.438 kB / 401.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.2345, allocations: 3.5 kB / 401.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.2345, allocations: 2.844 kB / 401.4 MB, free: 6.98 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.265e-05/0.2345, allocations: 111.1 kB / 401.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.2345, allocations: 17.45 kB / 401.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.2346, allocations: 75.09 kB / 401.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2346, allocations: 2.969 kB / 401.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.2346, allocations: 3.938 kB / 401.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2346, allocations: 7.984 kB / 401.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.976e-05/0.2347, allocations: 75.36 kB / 401.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2347, allocations: 2.344 kB / 401.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.2347, allocations: 12.39 kB / 401.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2347, allocations: 0 / 401.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2347, allocations: 2.906 kB / 401.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2347, allocations: 0 / 401.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2347, allocations: 0 / 401.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.2348, allocations: 106.2 kB / 401.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.2348, allocations: 13.31 kB / 401.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.2348, allocations: 4.844 kB / 401.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.2348, allocations: 5.938 kB / 401.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.2349, allocations: 3.984 kB / 401.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.2349, allocations: 6.5 kB / 401.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.016e-05/0.2349, allocations: 37.64 kB / 401.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2349, allocations: 0 / 401.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000288/0.2352, allocations: 207 kB / 402.1 MB, free: 6.527 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.0007013/0.2359, allocations: 0.5356 MB / 402.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.713e-05/0.2359, allocations: 41.95 kB / 402.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2359, allocations: 0 / 402.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.236, allocations: 12.8 kB / 402.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.2361, allocations: 40.72 kB / 402.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.2365, allocations: 253 kB / 402.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.741e-05/0.2365, allocations: 60.83 kB / 403 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.2366, allocations: 19.86 kB / 403 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.2366, allocations: 75.23 kB / 403.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2366, allocations: 0 / 403.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of Templates: time 0.007255/0.2439, allocations: 8.076 MB / 411.2 MB, free: 1.582 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: 2.8438385650515556]