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.001291/0.001291, allocations: 79.75 kB / 22.45 MB, free: 2.098 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.001659/0.001659, allocations: 169.8 kB / 25.75 MB, free: 8.598 MB / 18.57 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.9216/0.9216, allocations: 158.6 MB / 187.5 MB, free: 2.938 MB / 170.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.603e-06/1.603e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.699e-05, allocations: 6.25 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002693/0.00272, allocations: 1.382 MB / 252.5 MB, free: 6.418 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2324/0.2351, allocations: 143 MB / 395.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.2351, allocations: 0 / 395.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.2351, allocations: 2.719 kB / 395.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.2359, allocations: 248.1 kB / 395.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.2368, allocations: 0.6337 MB / 396.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.2369, allocations: 62.28 kB / 396.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.2369, allocations: 5.188 kB / 396.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.2369, allocations: 27.69 kB / 396.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.237, allocations: 28.98 kB / 396.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.237, allocations: 7.312 kB / 396.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.2378, allocations: 0.7649 MB / 397.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.2378, allocations: 9.156 kB / 397.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.2378, allocations: 18.09 kB / 397.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.2385, allocations: 0.6784 MB / 398 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2385, allocations: 0 / 398 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2385, allocations: 0 / 398 MB, free: 9.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2385, allocations: 0 / 398 MB, free: 9.922 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.0003773/0.2389, allocations: 486.1 kB / 398.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2389, allocations: 15.67 kB / 398.5 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.2395, allocations: 93.08 kB / 398.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2397, allocations: 228.4 kB / 398.8 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2397, allocations: 7.859 kB / 398.8 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2398, allocations: 4.562 kB / 398.8 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2399, allocations: 105.5 kB / 398.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2399, allocations: 0 / 398.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2399, allocations: 0 / 398.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2399, allocations: 2.625 kB / 398.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.24, allocations: 46.59 kB / 398.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.2401, allocations: 159.9 kB / 399.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.2404, allocations: 137.9 kB / 399.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.2405, allocations: 40.66 kB / 399.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.2406, allocations: 92.53 kB / 399.4 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2406, allocations: 40.64 kB / 399.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2406, allocations: 0 / 399.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002475/0.2409, allocations: 135 kB / 399.5 MB, free: 8.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.2409, allocations: 84.02 kB / 399.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.241, allocations: 227.7 kB / 399.8 MB, free: 8.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.241, allocations: 25.7 kB / 399.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.2411, allocations: 130.2 kB / 400 MB, free: 8.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.2411, allocations: 24.97 kB / 400 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.2411, allocations: 35.69 kB / 400 MB, free: 8.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.2412, allocations: 495 kB / 400.5 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.2412, allocations: 26.73 kB / 400.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.2412, allocations: 62.12 kB / 400.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.888e-05/0.2413, allocations: 92.22 kB / 400.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2413, allocations: 0 / 400.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001594/0.2415, allocations: 130.7 kB / 400.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2415, allocations: 9.844 kB / 400.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2415, allocations: 0 / 400.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2415, allocations: 3.062 kB / 400.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.2416, allocations: 25.09 kB / 400.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2416, allocations: 0 / 400.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.2417, allocations: 14.44 kB / 400.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2417, allocations: 10.73 kB / 400.9 MB, free: 7.516 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 4.184e-05/0.2417, allocations: 162.8 kB / 401.1 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.2418, allocations: 6.641 kB / 401.1 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.242, allocations: 195.6 kB / 401.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.242, allocations: 0 / 401.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.242, allocations: 3.031 kB / 401.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.242, allocations: 4 kB / 401.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.382e-05/0.2421, allocations: 141.2 kB / 401.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2421, allocations: 0 / 401.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.2422, allocations: 22.78 kB / 401.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2422, allocations: 4.094 kB / 401.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2422, allocations: 0 / 401.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2422, allocations: 6.594 kB / 401.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2422, allocations: 3.938 kB / 401.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2424, allocations: 157.2 kB / 401.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.2424, allocations: 54.06 kB / 401.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2425, allocations: 3.031 kB / 401.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.2425, allocations: 3.938 kB / 401.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.2426, allocations: 15.81 kB / 401.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2426, allocations: 7.016 kB / 401.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.2426, allocations: 187.7 kB / 401.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2426, allocations: 0 / 401.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000331/0.243, allocations: 175.6 kB / 402 MB, free: 6.766 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.0005647/0.2435, allocations: 413.7 kB / 402.4 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2437, allocations: 74.53 kB / 402.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2437, allocations: 0 / 402.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/0.2437, allocations: 45.88 kB / 402.5 MB, free: 6.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2439, allocations: 37.38 kB / 402.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.2445, allocations: 273.3 kB / 402.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.07e-05/0.2445, allocations: 60.88 kB / 402.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.2448, allocations: 437.4 kB / 403.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.2449, allocations: 42.81 kB / 403.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2449, allocations: 0 / 403.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of Templates: time 0.00642/0.2513, allocations: 6.567 MB / 409.9 MB, free: 2.562 MB / 330.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 -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: 3.008624552981928]