Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001225/0.001225, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002018/0.003243, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001225/0.001225, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002029/0.003254, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9297/0.9297, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1555/1.085, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.158e-05, allocations: 2.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002567/0.002588, allocations: 1.426 MB / 223.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2373/0.2399, allocations: 143.1 MB / 366.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.2399, allocations: 0 / 366.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.2399, allocations: 3.938 kB / 366.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007686/0.2407, allocations: 231.8 kB / 366.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2419, allocations: 0.6024 MB / 367.3 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.242, allocations: 59.67 kB / 367.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.2421, allocations: 4 kB / 367.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.2421, allocations: 43.83 kB / 367.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.2422, allocations: 27.91 kB / 367.4 MB, free: 13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2422, allocations: 0 / 367.4 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.2435, allocations: 0.8185 MB / 368.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.2435, allocations: 4 kB / 368.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.2436, allocations: 11.94 kB / 368.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009578/0.2445, allocations: 0.5689 MB / 368.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.2445, allocations: 0 / 368.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2445, allocations: 0 / 368.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2446, allocations: 0 / 368.8 MB, free: 11.59 MB / 330.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.000833/0.2454, allocations: 420 kB / 369.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2454, allocations: 8.031 kB / 369.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006038/0.246, allocations: 185.9 kB / 369.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2463, allocations: 214.2 kB / 369.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2463, allocations: 384 / 369.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.2463, allocations: 8.516 kB / 369.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2464, allocations: 87.27 kB / 369.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2465, allocations: 3.938 kB / 369.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2465, allocations: 4 kB / 369.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2465, allocations: 0 / 369.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.2465, allocations: 39.88 kB / 369.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.2466, allocations: 75.14 kB / 369.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.2469, allocations: 121.1 kB / 370 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.2469, allocations: 33.7 kB / 370 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.2471, allocations: 93.33 kB / 370.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2472, allocations: 34.56 kB / 370.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2472, allocations: 0 / 370.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001888/0.2473, allocations: 97.5 kB / 370.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2474, allocations: 81.09 kB / 370.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2475, allocations: 155.4 kB / 370.5 MB, free: 9.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2475, allocations: 25.7 kB / 370.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.2475, allocations: 88.12 kB / 370.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.2476, allocations: 19.8 kB / 370.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2476, allocations: 37.67 kB / 370.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.2477, allocations: 314.8 kB / 370.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.2477, allocations: 15.98 kB / 371 MB, free: 9.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.2478, allocations: 49.2 kB / 371 MB, free: 9.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.981e-05/0.2478, allocations: 71.33 kB / 371.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2478, allocations: 0 / 371.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.248, allocations: 89.58 kB / 371.2 MB, free: 9.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.248, allocations: 4 kB / 371.2 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.248, allocations: 0 / 371.2 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.248, allocations: 8.406 kB / 371.2 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2481, allocations: 41.62 kB / 371.2 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.2481, allocations: 0 / 371.2 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.2482, allocations: 8 kB / 371.2 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2482, allocations: 7.984 kB / 371.2 MB, free: 8.984 MB / 330.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.302e-05/0.2482, allocations: 109.8 kB / 371.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.2483, allocations: 8.062 kB / 371.4 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.2485, allocations: 176.3 kB / 371.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2485, allocations: 3.938 kB / 371.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2485, allocations: 0 / 371.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2485, allocations: 7.984 kB / 371.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.2486, allocations: 88.66 kB / 371.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2486, allocations: 0 / 371.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.2487, allocations: 41.39 kB / 371.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.2488, allocations: 35.89 kB / 371.7 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2488, allocations: 4 kB / 371.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2488, allocations: 0 / 371.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2488, allocations: 0 / 371.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2488, allocations: 3.938 kB / 371.7 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.249, allocations: 135.5 kB / 371.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.249, allocations: 0 / 371.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.249, allocations: 4 kB / 371.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.2491, allocations: 15.92 kB / 371.9 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2491, allocations: 4.906 kB / 371.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.541e-05/0.2491, allocations: 48.81 kB / 371.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2491, allocations: 4 kB / 371.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004742/0.2496, allocations: 183.4 kB / 372.1 MB, free: 8.066 MB / 330.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.0007621/0.2504, allocations: 435.1 kB / 372.5 MB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2505, allocations: 62.16 kB / 372.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.2505, allocations: 4.188 kB / 372.6 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.2506, allocations: 40.89 kB / 372.6 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.2508, allocations: 99.28 kB / 372.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2521, allocations: 223.4 kB / 372.9 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.961e-05/0.2521, allocations: 59.34 kB / 373 MB, free: 7.109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003464/0.2525, allocations: 435.2 kB / 373.4 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2526, allocations: 87.33 kB / 373.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2526, allocations: 0 / 373.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of Templates: time 0.01005/0.2627, allocations: 8.962 MB / 382.5 MB, free: 13.62 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.87642434053123]