Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008789/0.0008789, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.000913/0.000913, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8714/0.8714, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.5 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.882e-05, allocations: 2.312 kB / 273.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001929/0.001947, allocations: 1.442 MB / 274.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2268/0.2288, allocations: 144 MB / 418.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.2288, allocations: 4 kB / 418.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.2289, allocations: 7.922 kB / 418.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008429/0.2297, allocations: 246.1 kB / 419.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2308, allocations: 398.5 kB / 419.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.635e-05/0.2309, allocations: 63.59 kB / 419.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2309, allocations: 4 kB / 419.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.231, allocations: 27.97 kB / 419.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.231, allocations: 27.91 kB / 419.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2311, allocations: 0 / 419.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009835/0.232, allocations: 0.608 MB / 420.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2321, allocations: 11.91 kB / 420.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.2321, allocations: 19.94 kB / 420.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.2328, allocations: 0.526 MB / 420.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2328, allocations: 0 / 420.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2328, allocations: 4 kB / 420.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2328, allocations: 0 / 420.8 MB, free: 12.73 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.0003676/0.2331, allocations: 324.7 kB / 421.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2332, allocations: 15.97 kB / 421.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.2341, allocations: 133.7 kB / 421.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2343, allocations: 202.3 kB / 421.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2343, allocations: 0.5625 kB / 421.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.2344, allocations: 11.94 kB / 421.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.2345, allocations: 93.86 kB / 421.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2345, allocations: 4 kB / 421.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2345, allocations: 0 / 421.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2345, allocations: 3.938 kB / 421.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.2346, allocations: 35.95 kB / 421.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.2347, allocations: 81.84 kB / 421.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.235, allocations: 97.11 kB / 421.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.235, allocations: 33.69 kB / 421.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.2352, allocations: 100.5 kB / 421.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2352, allocations: 34.56 kB / 422 MB, free: 11.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2352, allocations: 4 kB / 422 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001903/0.2354, allocations: 99.08 kB / 422.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2354, allocations: 81.11 kB / 422.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2355, allocations: 150.7 kB / 422.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2356, allocations: 25.7 kB / 422.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.2356, allocations: 84.12 kB / 422.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.2356, allocations: 31.72 kB / 422.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.2357, allocations: 29.69 kB / 422.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.2357, allocations: 318.8 kB / 422.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.2358, allocations: 23.97 kB / 422.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.2358, allocations: 43.42 kB / 422.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.2359, allocations: 71.3 kB / 422.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2359, allocations: 0 / 422.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001354/0.2361, allocations: 85.58 kB / 423 MB, free: 10.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2361, allocations: 4 kB / 423 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2361, allocations: 8 kB / 423 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2361, allocations: 4 kB / 423 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.2362, allocations: 31.89 kB / 423 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2362, allocations: 4 kB / 423 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.2363, allocations: 4 kB / 423 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2363, allocations: 7.984 kB / 423.1 MB, free: 10.29 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.466e-05/0.2363, allocations: 113.8 kB / 423.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2364, allocations: 4 kB / 423.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2366, allocations: 171.6 kB / 423.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2366, allocations: 7.938 kB / 423.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.2366, allocations: 0 / 423.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2366, allocations: 0 / 423.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.2367, allocations: 96.64 kB / 423.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2367, allocations: 2.125 kB / 423.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.706e-05/0.2368, allocations: 24.02 kB / 423.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2368, allocations: 3.984 kB / 423.5 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2369, allocations: 7.984 kB / 423.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2369, allocations: 0 / 423.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2369, allocations: 7.938 kB / 423.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.237, allocations: 127.5 kB / 423.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.2371, allocations: 43.83 kB / 423.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2371, allocations: 4 kB / 423.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.2372, allocations: 3.984 kB / 423.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.2372, allocations: 11.92 kB / 423.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2372, allocations: 4 kB / 423.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.732e-05/0.2373, allocations: 52.81 kB / 423.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2373, allocations: 0 / 423.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.2377, allocations: 131.6 kB / 423.9 MB, free: 9.434 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.0004653/0.2381, allocations: 307.7 kB / 424.2 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2383, allocations: 56.75 kB / 424.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2383, allocations: 0 / 424.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.2383, allocations: 43.52 kB / 424.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2385, allocations: 29.88 kB / 424.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.239, allocations: 244.6 kB / 424.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.2391, allocations: 63.97 kB / 424.6 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.2395, allocations: 439.2 kB / 425 MB, free: 8.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2397, allocations: 87.27 kB / 425.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2397, allocations: 3.938 kB / 425.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of Templates: time 0.009818/0.2495, allocations: 7.355 MB / 432.5 MB, free: 0.8281 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8323777350597084]