Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009774/0.0009774, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 172.4 kB / 24.83 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9602/0.9602, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.388e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001577/0.001591, allocations: 1.42 MB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2249/0.2264, allocations: 142.2 MB / 416.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.2265, allocations: 0 / 416.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.2265, allocations: 3.938 kB / 416.9 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008752/0.2274, allocations: 380.4 kB / 417.3 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.2282, allocations: 0.5368 MB / 417.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.2283, allocations: 75.59 kB / 417.9 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.476e-05/0.2283, allocations: 0 / 417.9 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.2284, allocations: 51.81 kB / 418 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.2284, allocations: 35.89 kB / 418 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2284, allocations: 0 / 418 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.2295, allocations: 0.9424 MB / 419 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.2296, allocations: 19.91 kB / 419 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.2296, allocations: 19.94 kB / 419 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00085/0.2304, allocations: 0.7558 MB / 419.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.2304, allocations: 0 / 419.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2304, allocations: 0 / 419.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2305, allocations: 3.938 kB / 419.8 MB, free: 15.05 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.0003936/0.2308, allocations: 488.6 kB / 420.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2309, allocations: 15.98 kB / 420.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.2312, allocations: 72.75 kB / 420.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.219e-05/0.2312, allocations: 132.4 kB / 420.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2313, allocations: 8.312 kB / 420.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2313, allocations: 0.5625 kB / 420.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.2314, allocations: 81.67 kB / 420.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2314, allocations: 0 / 420.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2314, allocations: 4 kB / 420.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2314, allocations: 0 / 420.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.2314, allocations: 15.92 kB / 420.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.2315, allocations: 117 kB / 420.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2316, allocations: 86.14 kB / 420.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.2317, allocations: 27.42 kB / 420.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.2318, allocations: 46.14 kB / 420.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2319, allocations: 45.39 kB / 420.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.2319, allocations: 0 / 420.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001523/0.232, allocations: 77.5 kB / 420.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.232, allocations: 77.11 kB / 421 MB, free: 13.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.2321, allocations: 181.9 kB / 421.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2321, allocations: 29.7 kB / 421.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.2322, allocations: 134.9 kB / 421.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2322, allocations: 27.78 kB / 421.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2322, allocations: 27.36 kB / 421.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2323, allocations: 0.4923 MB / 421.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.2323, allocations: 8 kB / 421.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.2324, allocations: 43.36 kB / 422 MB, free: 12.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.2324, allocations: 50.69 kB / 422 MB, free: 12.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2324, allocations: 0 / 422 MB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001001/0.2325, allocations: 81.91 kB / 422.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2325, allocations: 8.625 kB / 422.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2325, allocations: 0 / 422.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2325, allocations: 11.98 kB / 422.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.2328, allocations: 26.86 kB / 422.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.2328, allocations: 4 kB / 422.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.2329, allocations: 3.953 kB / 422.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.2329, allocations: 4 kB / 422.1 MB, free: 12.41 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 5.548e-05/0.2329, allocations: 168.5 kB / 422.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.2329, allocations: 11.89 kB / 422.3 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/0.233, allocations: 76.06 kB / 422.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.233, allocations: 3.938 kB / 422.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.233, allocations: 0 / 422.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.233, allocations: 8 kB / 422.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.959e-05/0.2331, allocations: 109.2 kB / 422.5 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2331, allocations: 0 / 422.5 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.2332, allocations: 19.92 kB / 422.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2332, allocations: 0 / 422.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.2332, allocations: 0 / 422.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2332, allocations: 4 kB / 422.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2332, allocations: 0 / 422.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2333, allocations: 119.9 kB / 422.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.2333, allocations: 11.94 kB / 422.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.2333, allocations: 12.03 kB / 422.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.2333, allocations: 0.875 kB / 422.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.2334, allocations: 15.86 kB / 422.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2334, allocations: 0 / 422.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.2334, allocations: 140.7 kB / 422.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2334, allocations: 4 kB / 422.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.2337, allocations: 167.4 kB / 423 MB, free: 11.48 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.000554/0.2343, allocations: 438.4 kB / 423.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.634e-05/0.2343, allocations: 35.61 kB / 423.5 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.2343, allocations: 0 / 423.5 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.2344, allocations: 27.67 kB / 423.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.2345, allocations: 32.11 kB / 423.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.235, allocations: 258 kB / 423.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.235, allocations: 63.34 kB / 423.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.2351, allocations: 15.83 kB / 423.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.2351, allocations: 94.17 kB / 423.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2351, allocations: 4 kB / 423.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of Templates: time 0.006882/0.242, allocations: 6.348 MB / 430.3 MB, free: 4.219 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.07329136505723]