Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9431/0.9431, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.205e-05, allocations: 2.312 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002306/0.002328, allocations: 1.397 MB / 269.5 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2193/0.2216, allocations: 141.4 MB / 410.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.2217, allocations: 0 / 410.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2217, allocations: 7.922 kB / 410.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008036/0.2225, allocations: 236.7 kB / 411.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.2232, allocations: 416.2 kB / 411.5 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.009e-05/0.2233, allocations: 67.58 kB / 411.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.2233, allocations: 0 / 411.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.2234, allocations: 27.97 kB / 411.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.2235, allocations: 35.89 kB / 411.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2235, allocations: 0 / 411.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006433/0.2241, allocations: 0.5612 MB / 412.2 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.2241, allocations: 11.94 kB / 412.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.2242, allocations: 11.98 kB / 412.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.2249, allocations: 0.5299 MB / 412.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2249, allocations: 0 / 412.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2249, allocations: 0 / 412.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2249, allocations: 0 / 412.8 MB, free: 8.617 MB / 362.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.0004051/0.2253, allocations: 464.2 kB / 413.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2254, allocations: 12.86 kB / 413.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.226, allocations: 96.75 kB / 413.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.2262, allocations: 225.1 kB / 413.6 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2262, allocations: 8.562 kB / 413.6 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2263, allocations: 3.938 kB / 413.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2264, allocations: 96.98 kB / 413.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2264, allocations: 4 kB / 413.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2264, allocations: 0 / 413.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2264, allocations: 7.938 kB / 413.7 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.2265, allocations: 43.94 kB / 413.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2267, allocations: 156.8 kB / 413.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.2269, allocations: 142 kB / 414 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.227, allocations: 43.41 kB / 414.1 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.2272, allocations: 92.58 kB / 414.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2272, allocations: 45.33 kB / 414.2 MB, free: 7.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.2272, allocations: 0 / 414.2 MB, free: 7.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.2275, allocations: 129.5 kB / 414.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2275, allocations: 85.05 kB / 414.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2276, allocations: 225.9 kB / 414.6 MB, free: 6.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2276, allocations: 25.7 kB / 414.6 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.2277, allocations: 126.9 kB / 414.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.2277, allocations: 27.78 kB / 414.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.2278, allocations: 39.34 kB / 414.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2279, allocations: 492.1 kB / 415.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.2279, allocations: 31.97 kB / 415.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.228, allocations: 58.72 kB / 415.4 MB, free: 5.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2281, allocations: 90.66 kB / 415.5 MB, free: 5.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2281, allocations: 0 / 415.5 MB, free: 5.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001722/0.2282, allocations: 129.4 kB / 415.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2282, allocations: 4 kB / 415.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2283, allocations: 0 / 415.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2283, allocations: 8.062 kB / 415.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.2283, allocations: 23.97 kB / 415.7 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2283, allocations: 4 kB / 415.7 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2284, allocations: 7.938 kB / 415.7 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.2284, allocations: 7.984 kB / 415.7 MB, free: 5.449 MB / 362.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.229e-05/0.2285, allocations: 156.6 kB / 415.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.2285, allocations: 15.27 kB / 415.8 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.2288, allocations: 199 kB / 416 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2288, allocations: 0 / 416 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2288, allocations: 0 / 416 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2288, allocations: 4 kB / 416 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.2289, allocations: 138.1 kB / 416.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2289, allocations: 4 kB / 416.2 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.229, allocations: 20.02 kB / 416.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.229, allocations: 3.984 kB / 416.2 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.229, allocations: 7.938 kB / 416.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.229, allocations: 0 / 416.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.229, allocations: 8 kB / 416.2 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.2293, allocations: 166.2 kB / 416.4 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.2293, allocations: 47.81 kB / 416.4 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2293, allocations: 3.938 kB / 416.4 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.2294, allocations: 4 kB / 416.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.2294, allocations: 11.98 kB / 416.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2295, allocations: 3.984 kB / 416.4 MB, free: 4.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.2296, allocations: 191.8 kB / 416.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2296, allocations: 0 / 416.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.2299, allocations: 139.6 kB / 416.8 MB, free: 4.281 MB / 362.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.0005175/0.2304, allocations: 329.4 kB / 417.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.2305, allocations: 75.56 kB / 417.2 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2305, allocations: 0 / 417.2 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.2306, allocations: 39.78 kB / 417.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.2308, allocations: 35.88 kB / 417.2 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.2314, allocations: 273.6 kB / 417.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.2314, allocations: 63.97 kB / 417.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.2318, allocations: 432.1 kB / 418 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.2319, allocations: 40.45 kB / 418 MB, free: 2.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2319, allocations: 0 / 418 MB, free: 2.984 MB / 362.7 MB Notification: Performance of Templates: time 0.006875/0.2388, allocations: 5.647 MB / 423.7 MB, free: 13.36 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.964173241984099]