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.0007423/0.0007423, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.00175, allocations: 445.7 kB / 10.37 MB, free: 328 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.000696/0.000696, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008283/0.001524, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8475/0.8475, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1396/0.9871, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.282e-06/1.282e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.245e-05, allocations: 10.25 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001532/0.001545, allocations: 1.429 MB / 223.3 MB, free: 14.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2469/0.2484, allocations: 143.1 MB / 366.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.2485, allocations: 0 / 366.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.2485, allocations: 7.922 kB / 366.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006238/0.2491, allocations: 235.8 kB / 366.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/0.25, allocations: 0.6023 MB / 367.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.2501, allocations: 55.67 kB / 367.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.36e-05/0.2501, allocations: 0 / 367.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.2502, allocations: 43.83 kB / 367.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.2503, allocations: 23.97 kB / 367.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.2503, allocations: 4 kB / 367.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009403/0.2512, allocations: 0.8185 MB / 368.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.2512, allocations: 7.938 kB / 368.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.2512, allocations: 12 kB / 368.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.2518, allocations: 0.5689 MB / 368.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.2519, allocations: 0 / 368.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2519, allocations: 0 / 368.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2519, allocations: 0 / 368.7 MB, free: 11.75 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.0004078/0.2523, allocations: 420 kB / 369.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.2523, allocations: 8.031 kB / 369.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.2528, allocations: 181.9 kB / 369.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.253, allocations: 206.3 kB / 369.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.253, allocations: 12.31 kB / 369.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.253, allocations: 8.5 kB / 369.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2531, allocations: 87.27 kB / 369.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2531, allocations: 0 / 369.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2531, allocations: 4 kB / 369.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2532, allocations: 4 kB / 369.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.2532, allocations: 35.89 kB / 369.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.237e-05/0.2533, allocations: 77.89 kB / 369.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.2536, allocations: 105.1 kB / 369.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.2537, allocations: 38.95 kB / 369.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.2538, allocations: 96.39 kB / 369.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2538, allocations: 34.56 kB / 370 MB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.2538, allocations: 0 / 370 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001532/0.254, allocations: 101.5 kB / 370.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.254, allocations: 81.11 kB / 370.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.2541, allocations: 159.3 kB / 370.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2541, allocations: 29.64 kB / 370.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.2541, allocations: 84.14 kB / 370.4 MB, free: 9.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.2542, allocations: 19.8 kB / 370.4 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.2542, allocations: 33.67 kB / 370.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.2543, allocations: 318.8 kB / 370.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.2543, allocations: 15.97 kB / 370.8 MB, free: 9.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.2543, allocations: 45.22 kB / 370.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.2544, allocations: 75.31 kB / 370.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2544, allocations: 0 / 370.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.771e-05/0.2545, allocations: 89.52 kB / 371 MB, free: 9.215 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.2545, allocations: 8 kB / 371 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2545, allocations: 0 / 371 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.2545, allocations: 3.938 kB / 371 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.2546, allocations: 35.94 kB / 371 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2546, allocations: 9.938 kB / 371.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.2546, allocations: 0 / 371.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2547, allocations: 7.984 kB / 371.1 MB, free: 9.152 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 5.246e-05/0.2547, allocations: 121.8 kB / 371.2 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.2547, allocations: 4 kB / 371.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.2549, allocations: 172.3 kB / 371.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2549, allocations: 11.94 kB / 371.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.2549, allocations: 0 / 371.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2549, allocations: 3.984 kB / 371.4 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.264e-05/0.255, allocations: 88.72 kB / 371.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.255, allocations: 0 / 371.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.2551, allocations: 23.95 kB / 371.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.2551, allocations: 44.41 kB / 371.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2551, allocations: 0 / 371.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2551, allocations: 5.312 kB / 371.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2551, allocations: 4 kB / 371.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2551, allocations: 3.938 kB / 371.5 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2553, allocations: 127.6 kB / 371.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2553, allocations: 0 / 371.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.2554, allocations: 11.98 kB / 371.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.2554, allocations: 15.8 kB / 371.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2554, allocations: 4 kB / 371.7 MB, free: 8.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.754e-05/0.2554, allocations: 56.8 kB / 371.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2554, allocations: 0 / 371.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.2558, allocations: 187.4 kB / 371.9 MB, free: 8.223 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.0005589/0.2563, allocations: 429.5 kB / 372.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.2564, allocations: 56.75 kB / 372.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2564, allocations: 0 / 372.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.2565, allocations: 36.84 kB / 372.4 MB, free: 7.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.2566, allocations: 44.06 kB / 372.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2578, allocations: 231.5 kB / 372.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.294e-05/0.2578, allocations: 63.34 kB / 372.8 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.2581, allocations: 435 kB / 373.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2583, allocations: 87.31 kB / 373.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2583, allocations: 0 / 373.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of Templates: time 0.008208/0.2665, allocations: 8.848 MB / 382.1 MB, free: 13.96 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9205951588228345]