Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001308/0.001308, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001411/0.001411, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.9427/0.9427, allocations: 177.1 MB / 205 MB, free: 5.289 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.837e-05, allocations: 4.984 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001612/0.00163, allocations: 1.42 MB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2348/0.2364, allocations: 144.9 MB / 419.3 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.2365, allocations: 0 / 419.3 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.538e-05/0.2365, allocations: 7.922 kB / 419.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.2377, allocations: 384.4 kB / 419.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.239, allocations: 0.5291 MB / 420.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2391, allocations: 79.58 kB / 420.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.2392, allocations: 4 kB / 420.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.2392, allocations: 43.83 kB / 420.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.2393, allocations: 35.89 kB / 420.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2393, allocations: 4 kB / 420.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.2407, allocations: 0.9502 MB / 421.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.2407, allocations: 11.98 kB / 421.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.2408, allocations: 23.92 kB / 421.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.2416, allocations: 0.7518 MB / 422.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2416, allocations: 0 / 422.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2416, allocations: 0 / 422.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.2416, allocations: 0 / 422.1 MB, free: 12.75 MB / 378.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.0004718/0.242, allocations: 488.5 kB / 422.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2421, allocations: 12.03 kB / 422.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.2424, allocations: 76.67 kB / 422.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2425, allocations: 132.5 kB / 422.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2425, allocations: 8.375 kB / 422.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.2426, allocations: 4.562 kB / 422.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2427, allocations: 81.69 kB / 422.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2427, allocations: 0 / 422.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2427, allocations: 0 / 422.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2427, allocations: 0 / 422.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.2427, allocations: 15.92 kB / 422.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.2429, allocations: 137.2 kB / 423.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2431, allocations: 94.08 kB / 423.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.2431, allocations: 27.44 kB / 423.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/0.2433, allocations: 51.94 kB / 423.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2433, allocations: 37.39 kB / 423.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2433, allocations: 0 / 423.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001903/0.2435, allocations: 77.5 kB / 423.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.2436, allocations: 85.05 kB / 423.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.2437, allocations: 190.9 kB / 423.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.2437, allocations: 25.7 kB / 423.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.2437, allocations: 134.9 kB / 423.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.2437, allocations: 27.78 kB / 423.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.2438, allocations: 23.38 kB / 423.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2439, allocations: 0.4923 MB / 424.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.2439, allocations: 4 kB / 424.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.2439, allocations: 50.67 kB / 424.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.244, allocations: 58.75 kB / 424.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.244, allocations: 0 / 424.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001218/0.2441, allocations: 90.75 kB / 424.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2441, allocations: 7.938 kB / 424.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2441, allocations: 0 / 424.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2442, allocations: 4.094 kB / 424.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.2442, allocations: 19.97 kB / 424.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2442, allocations: 0 / 424.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.2442, allocations: 8.016 kB / 424.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2442, allocations: 4 kB / 424.5 MB, free: 10.05 MB / 378.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 6.241e-05/0.2443, allocations: 164.5 kB / 424.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.2443, allocations: 15.89 kB / 424.7 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2445, allocations: 81.61 kB / 424.8 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2445, allocations: 4 kB / 424.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2445, allocations: 0 / 424.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2445, allocations: 0 / 424.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.192e-05/0.2446, allocations: 132.6 kB / 424.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2446, allocations: 0 / 424.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.2446, allocations: 11.98 kB / 425 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2446, allocations: 8 kB / 425 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2446, allocations: 0 / 425 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2446, allocations: 3.938 kB / 425 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2446, allocations: 0 / 425 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.2448, allocations: 131.9 kB / 425.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.2448, allocations: 15.88 kB / 425.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2448, allocations: 4 kB / 425.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.2448, allocations: 3.938 kB / 425.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.2449, allocations: 7.984 kB / 425.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2449, allocations: 0.9062 kB / 425.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.2449, allocations: 148.3 kB / 425.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2449, allocations: 0 / 425.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.2452, allocations: 175.4 kB / 425.4 MB, free: 9.086 MB / 378.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.0006126/0.2459, allocations: 427.4 kB / 425.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.246, allocations: 43.59 kB / 425.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.246, allocations: 0 / 425.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.246, allocations: 23.62 kB / 425.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.2462, allocations: 38.17 kB / 426 MB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.2468, allocations: 253.9 kB / 426.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.2468, allocations: 63.34 kB / 426.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.071e-05/0.2469, allocations: 20.61 kB / 426.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2469, allocations: 12.5 kB / 426.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2469, allocations: 0 / 426.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of Templates: time 0.00642/0.2533, allocations: 5.03 MB / 431.3 MB, free: 3.199 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.124048496130854]