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.001221/0.001221, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001224/0.001224, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9348/0.9348, allocations: 177 MB / 205.2 MB, free: 5.043 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.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.502e-05, allocations: 5.125 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.005212/0.005227, allocations: 1.446 MB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2324/0.2376, allocations: 144 MB / 418.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.2376, allocations: 0 / 418.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.2377, allocations: 7.922 kB / 418.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008118/0.2385, allocations: 238.9 kB / 419.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.2393, allocations: 394.8 kB / 419.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.2394, allocations: 59.67 kB / 419.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.2394, allocations: 7.969 kB / 419.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.2395, allocations: 27.92 kB / 419.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.2396, allocations: 19.97 kB / 419.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.2396, allocations: 4 kB / 419.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.2405, allocations: 0.6079 MB / 420.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2406, allocations: 11.97 kB / 420.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2406, allocations: 15.94 kB / 420.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.2413, allocations: 0.5415 MB / 420.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2413, allocations: 0 / 420.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2413, allocations: 0 / 420.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2413, allocations: 0 / 420.8 MB, free: 13.29 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.0003634/0.2416, allocations: 317.4 kB / 421.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2417, allocations: 15.98 kB / 421.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.2426, allocations: 134.7 kB / 421.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.2428, allocations: 206.3 kB / 421.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.2428, allocations: 8.562 kB / 421.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2428, allocations: 3.938 kB / 421.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.243, allocations: 97.8 kB / 421.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.243, allocations: 0 / 421.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.243, allocations: 4 kB / 421.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.243, allocations: 4 kB / 421.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.2431, allocations: 31.95 kB / 421.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.2432, allocations: 89.77 kB / 421.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.2434, allocations: 101.2 kB / 421.7 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.2435, allocations: 33.69 kB / 421.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.2437, allocations: 92.56 kB / 421.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2437, allocations: 38.5 kB / 421.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2437, allocations: 0 / 421.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001905/0.2439, allocations: 97.83 kB / 422 MB, free: 11.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2439, allocations: 77.11 kB / 422.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.244, allocations: 150.7 kB / 422.2 MB, free: 11.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.244, allocations: 29.7 kB / 422.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/0.2441, allocations: 88.12 kB / 422.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2441, allocations: 27.78 kB / 422.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.2441, allocations: 25.69 kB / 422.4 MB, free: 11.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.2442, allocations: 318.8 kB / 422.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.2443, allocations: 16.95 kB / 422.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.2443, allocations: 43.42 kB / 422.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2444, allocations: 81.95 kB / 422.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2444, allocations: 8 kB / 422.9 MB, free: 11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001333/0.2445, allocations: 85.52 kB / 422.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2446, allocations: 8 kB / 422.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2446, allocations: 3.938 kB / 422.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2446, allocations: 0 / 422.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2447, allocations: 31.95 kB / 423 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.2447, allocations: 0.625 kB / 423 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.2448, allocations: 4 kB / 423 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2448, allocations: 7.984 kB / 423 MB, free: 10.86 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.148e-05/0.2448, allocations: 117.8 kB / 423.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2449, allocations: 4 kB / 423.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.2451, allocations: 170.7 kB / 423.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2451, allocations: 0 / 423.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2451, allocations: 0 / 423.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2451, allocations: 11.92 kB / 423.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2452, allocations: 89.53 kB / 423.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2452, allocations: 0 / 423.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2454, allocations: 27.97 kB / 423.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.2454, allocations: 7.984 kB / 423.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2454, allocations: 0.875 kB / 423.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2454, allocations: 0 / 423.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.2454, allocations: 7.875 kB / 423.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.2455, allocations: 119.6 kB / 423.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.2456, allocations: 43.89 kB / 423.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.2456, allocations: 0 / 423.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.2457, allocations: 10.05 kB / 423.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2457, allocations: 15.95 kB / 423.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2457, allocations: 4 kB / 423.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.2458, allocations: 61.98 kB / 423.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2458, allocations: 0 / 423.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.2461, allocations: 131.6 kB / 423.8 MB, free: 9.996 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 (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.0003979/0.2465, allocations: 309.1 kB / 424.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.2466, allocations: 60.75 kB / 424.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2466, allocations: 0 / 424.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.2467, allocations: 32.78 kB / 424.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.2468, allocations: 31.23 kB / 424.2 MB, free: 9.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.2473, allocations: 250.7 kB / 424.5 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.2473, allocations: 59.34 kB / 424.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.2477, allocations: 432.2 kB / 424.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2478, allocations: 87.33 kB / 425 MB, free: 8.719 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2478, allocations: 4 kB / 425 MB, free: 8.715 MB / 378.7 MB Notification: Performance of Templates: time 0.008067/0.2559, allocations: 7.346 MB / 432.4 MB, free: 1.445 MB / 378.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 -s gbode -gbm=radauIIA3 -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: 3.0214156471192837]