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.0008841/0.0008841, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008753/0.0008753, allocations: 169.9 kB / 24.92 MB, free: 8.258 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.8947/0.8947, allocations: 177 MB / 205.2 MB, free: 5.422 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.473e-06/1.473e-06, allocations: 3.938 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.406e-05, allocations: 5.266 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002371/0.002395, allocations: 1.399 MB / 274.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2394/0.2418, allocations: 144 MB / 418.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.2419, allocations: 0 / 418.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.2419, allocations: 3.938 kB / 418.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.2426, allocations: 246.8 kB / 419 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.2432, allocations: 415.1 kB / 419.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.2433, allocations: 63.64 kB / 419.5 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.2433, allocations: 7.938 kB / 419.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.2434, allocations: 35.89 kB / 419.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.2434, allocations: 15.98 kB / 419.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.2435, allocations: 7.984 kB / 419.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.2441, allocations: 0.5728 MB / 420.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.2441, allocations: 8 kB / 420.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.2441, allocations: 15.92 kB / 420.1 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.2446, allocations: 0.5377 MB / 420.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2446, allocations: 3.938 kB / 420.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2446, allocations: 0 / 420.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.2446, allocations: 0 / 420.7 MB, free: 13.46 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.0003215/0.2449, allocations: 321.4 kB / 421 MB, free: 13.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.245, allocations: 15.98 kB / 421 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/0.2456, allocations: 130.7 kB / 421.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2458, allocations: 210.3 kB / 421.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2458, allocations: 4.562 kB / 421.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.2458, allocations: 3.938 kB / 421.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.2459, allocations: 91.25 kB / 421.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.2459, allocations: 0 / 421.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2459, allocations: 4 kB / 421.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2459, allocations: 4 kB / 421.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.246, allocations: 27.95 kB / 421.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.2461, allocations: 85.84 kB / 421.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.2463, allocations: 114.2 kB / 421.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.2463, allocations: 37.62 kB / 421.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.2464, allocations: 92.58 kB / 421.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2465, allocations: 34.5 kB / 421.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2465, allocations: 0 / 421.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000153/0.2466, allocations: 97.5 kB / 421.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2466, allocations: 77.11 kB / 422 MB, free: 12.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.2467, allocations: 158.6 kB / 422.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2467, allocations: 29.7 kB / 422.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.2468, allocations: 84.12 kB / 422.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2468, allocations: 23.8 kB / 422.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.2468, allocations: 25.69 kB / 422.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.2469, allocations: 322.8 kB / 422.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.2469, allocations: 19.98 kB / 422.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.247, allocations: 40.28 kB / 422.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.247, allocations: 75.31 kB / 422.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.247, allocations: 4 kB / 422.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.831e-05/0.2471, allocations: 89.52 kB / 422.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.2471, allocations: 4 kB / 422.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2472, allocations: 7.438 kB / 422.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.2472, allocations: 4 kB / 422.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.2472, allocations: 19.97 kB / 422.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.2472, allocations: 0 / 422.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.2473, allocations: 8 kB / 422.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2473, allocations: 3.984 kB / 422.9 MB, free: 11.04 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.203e-05/0.2474, allocations: 121.8 kB / 423 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.2474, allocations: 7.984 kB / 423 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.2476, allocations: 171.1 kB / 423.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2476, allocations: 0 / 423.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2476, allocations: 0 / 423.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2476, allocations: 4.047 kB / 423.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.2477, allocations: 97.25 kB / 423.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2477, allocations: 4 kB / 423.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.2478, allocations: 23.97 kB / 423.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2478, allocations: 0 / 423.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2478, allocations: 4 kB / 423.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2478, allocations: 0 / 423.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2478, allocations: 7.875 kB / 423.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.2479, allocations: 132.8 kB / 423.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.248, allocations: 39.89 kB / 423.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.248, allocations: 4 kB / 423.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.234e-05/0.248, allocations: 0 / 423.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.2481, allocations: 19.95 kB / 423.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2481, allocations: 4 kB / 423.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.2481, allocations: 49.83 kB / 423.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2481, allocations: 3.938 kB / 423.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.2484, allocations: 131.6 kB / 423.7 MB, free: 10.18 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.0003698/0.2487, allocations: 301.5 kB / 424 MB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.2488, allocations: 68.73 kB / 424.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2488, allocations: 0 / 424.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.2489, allocations: 36.78 kB / 424.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.249, allocations: 30.2 kB / 424.1 MB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.2495, allocations: 255.5 kB / 424.4 MB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.2495, allocations: 60.23 kB / 424.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.2498, allocations: 432.2 kB / 424.9 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2499, allocations: 95.31 kB / 424.9 MB, free: 8.895 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2499, allocations: 0 / 424.9 MB, free: 8.895 MB / 378.7 MB Notification: Performance of Templates: time 0.007236/0.2572, allocations: 7.342 MB / 432.3 MB, free: 1.629 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 -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.9642385439947248]