Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001297/0.001297, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001421/0.001421, allocations: 169.2 kB / 25.61 MB, free: 8.914 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.9321/0.9321, allocations: 177 MB / 205.9 MB, free: 4.426 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.323e-05, allocations: 3.969 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001768/0.001791, allocations: 1.401 MB / 275.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2351/0.2369, allocations: 141.9 MB / 417.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.237, allocations: 0 / 417.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.237, allocations: 3.984 kB / 417.4 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.238, allocations: 243 kB / 417.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.2388, allocations: 422.7 kB / 418 MB, free: 136 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2389, allocations: 55.67 kB / 418.1 MB, free: 80 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.2389, allocations: 3.984 kB / 418.1 MB, free: 76 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.239, allocations: 35.91 kB / 418.1 MB, free: 40 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.239, allocations: 19.97 kB / 418.1 MB, free: 20 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.239, allocations: 4 kB / 418.1 MB, free: 16 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008056/0.2398, allocations: 0.5767 MB / 418.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.2399, allocations: 7.984 kB / 418.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2399, allocations: 19.94 kB / 418.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.2405, allocations: 0.5298 MB / 419.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2405, allocations: 0 / 419.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2405, allocations: 0 / 419.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2405, allocations: 4 kB / 419.3 MB, free: 14.88 MB / 346.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.000391/0.2409, allocations: 456.3 kB / 419.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2409, allocations: 8.031 kB / 419.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.2416, allocations: 112.7 kB / 419.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2419, allocations: 225.1 kB / 420.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.2419, allocations: 0.5625 kB / 420.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.2419, allocations: 11.94 kB / 420.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2421, allocations: 96.91 kB / 420.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2421, allocations: 0 / 420.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.2421, allocations: 0 / 420.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2421, allocations: 3.984 kB / 420.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.2421, allocations: 43.95 kB / 420.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2423, allocations: 139.1 kB / 420.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.2425, allocations: 130 kB / 420.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.2426, allocations: 43.41 kB / 420.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.2427, allocations: 92.58 kB / 420.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2427, allocations: 33.39 kB / 420.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.2427, allocations: 11.92 kB / 420.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000212/0.2429, allocations: 127.7 kB / 420.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.243, allocations: 81.11 kB / 420.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2431, allocations: 217.9 kB / 421.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2431, allocations: 25.7 kB / 421.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.2431, allocations: 130.9 kB / 421.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.2432, allocations: 27.77 kB / 421.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.2432, allocations: 35.34 kB / 421.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2433, allocations: 0.4884 MB / 421.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.2433, allocations: 23.97 kB / 421.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.2434, allocations: 54.72 kB / 421.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.2435, allocations: 86.64 kB / 421.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2435, allocations: 4 kB / 421.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001494/0.2436, allocations: 113.5 kB / 422.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2436, allocations: 7.938 kB / 422.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2436, allocations: 3.984 kB / 422.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.2437, allocations: 4 kB / 422.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.2437, allocations: 19.97 kB / 422.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.2437, allocations: 4 kB / 422.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.2438, allocations: 12.06 kB / 422.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2438, allocations: 4.734 kB / 422.1 MB, free: 11.79 MB / 346.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.514e-05/0.2439, allocations: 164.5 kB / 422.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2439, allocations: 7.953 kB / 422.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.2441, allocations: 172.8 kB / 422.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2441, allocations: 0 / 422.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2441, allocations: 8 kB / 422.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2441, allocations: 8 kB / 422.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.2442, allocations: 122.7 kB / 422.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2442, allocations: 3.984 kB / 422.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.2443, allocations: 19.98 kB / 422.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2443, allocations: 7.938 kB / 422.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2443, allocations: 3.984 kB / 422.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2443, allocations: 0 / 422.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2443, allocations: 7.938 kB / 422.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.2445, allocations: 148 kB / 422.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.2446, allocations: 43.88 kB / 422.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2446, allocations: 12.02 kB / 422.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.2446, allocations: 4 kB / 422.8 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.2447, allocations: 11.92 kB / 422.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2447, allocations: 4 kB / 422.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.079e-05/0.2448, allocations: 187.7 kB / 423 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2448, allocations: 0 / 423 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.2451, allocations: 131.6 kB / 423.2 MB, free: 10.68 MB / 346.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.0004053/0.2455, allocations: 318.6 kB / 423.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.2456, allocations: 67.56 kB / 423.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2456, allocations: 0 / 423.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.2457, allocations: 39.55 kB / 423.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.2458, allocations: 34.59 kB / 423.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.2464, allocations: 270.8 kB / 423.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.2464, allocations: 63.34 kB / 423.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.2467, allocations: 430.9 kB / 424.4 MB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2469, allocations: 118.1 kB / 424.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2469, allocations: 0 / 424.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of Templates: time 0.008427/0.2553, allocations: 7.455 MB / 431.9 MB, free: 1.918 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.9155464810319245]