Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007486/0.007486, allocations: 106 kB / 21.98 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 379.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2753, allocations: 53.35 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002678/0.2779, allocations: 1.382 MB / 434.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4534/0.7313, allocations: 152.1 MB / 0.5729 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.7314, allocations: 0 / 0.5729 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.7314, allocations: 2.391 kB / 0.5729 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000913/0.7323, allocations: 238.6 kB / 0.5731 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.7333, allocations: 417.4 kB / 0.5735 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.7334, allocations: 53.38 kB / 0.5735 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.7335, allocations: 8.969 kB / 0.5736 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.7335, allocations: 25.14 kB / 0.5736 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.7336, allocations: 31.3 kB / 0.5736 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.7336, allocations: 1.812 kB / 0.5736 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.7347, allocations: 0.7107 MB / 0.5743 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.7348, allocations: 6.797 kB / 0.5743 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.7348, allocations: 27.59 kB / 0.5743 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.7355, allocations: 498.3 kB / 0.5748 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7355, allocations: 0 / 0.5748 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7355, allocations: 4 kB / 0.5748 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.7355, allocations: 0 / 0.5748 GB, free: 12.86 MB / 462.1 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.0005847/0.7361, allocations: 362.7 kB / 0.5752 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7361, allocations: 12.22 kB / 0.5752 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.7373, allocations: 101.6 kB / 0.5753 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.7376, allocations: 172 kB / 0.5754 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.7376, allocations: 1.812 kB / 0.5754 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.7376, allocations: 7.922 kB / 0.5754 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.7379, allocations: 86.27 kB / 0.5755 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7379, allocations: 1.734 kB / 0.5755 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7379, allocations: 3.438 kB / 0.5755 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7379, allocations: 2.469 kB / 0.5755 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.7381, allocations: 49.39 kB / 0.5756 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.7383, allocations: 185 kB / 0.5758 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.7388, allocations: 130.8 kB / 0.5759 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.7389, allocations: 40.47 kB / 0.5759 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.7391, allocations: 93.03 kB / 0.576 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.7391, allocations: 36.28 kB / 0.576 GB, free: 12.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.7391, allocations: 0 / 0.576 GB, free: 12.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004598/0.7396, allocations: 132.1 kB / 0.5762 GB, free: 12.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.7397, allocations: 80.23 kB / 0.5762 GB, free: 11.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.7399, allocations: 155.4 kB / 0.5764 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.7399, allocations: 27.92 kB / 0.5764 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.7399, allocations: 83.27 kB / 0.5765 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.74, allocations: 25.02 kB / 0.5765 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.74, allocations: 30.91 kB / 0.5766 GB, free: 11.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7402, allocations: 317.2 kB / 0.5769 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.7403, allocations: 29.56 kB / 0.5769 GB, free: 11.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.7404, allocations: 58.48 kB / 0.5769 GB, free: 11.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.7406, allocations: 79.38 kB / 0.577 GB, free: 11.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7406, allocations: 2.531 kB / 0.577 GB, free: 11.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003011/0.7409, allocations: 124.9 kB / 0.5771 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7409, allocations: 4.375 kB / 0.5771 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7409, allocations: 3 kB / 0.5771 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7409, allocations: 0 / 0.5771 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.7411, allocations: 27.72 kB / 0.5772 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7411, allocations: 2.438 kB / 0.5772 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.7412, allocations: 9.766 kB / 0.5772 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.7413, allocations: 11.81 kB / 0.5772 GB, free: 11.25 MB / 462.1 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 9.589e-05/0.7414, allocations: 123.9 kB / 0.5773 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.7414, allocations: 8.594 kB / 0.5773 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.742, allocations: 245.7 kB / 0.5776 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.742, allocations: 5.016 kB / 0.5776 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.742, allocations: 7.984 kB / 0.5776 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.742, allocations: 2.812 kB / 0.5776 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.7422, allocations: 188.3 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7422, allocations: 7.156 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.7424, allocations: 25.31 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7424, allocations: 1.203 kB / 0.5778 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7424, allocations: 6.156 kB / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.7424, allocations: 6.125 kB / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7424, allocations: 2.906 kB / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.7428, allocations: 171.3 kB / 0.578 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.7428, allocations: 23.25 kB / 0.578 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.7429, allocations: 3.938 kB / 0.578 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.743, allocations: 7.094 kB / 0.578 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.7431, allocations: 6.906 kB / 0.578 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7431, allocations: 10.81 kB / 0.578 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.7432, allocations: 135.5 kB / 0.5781 GB, free: 10.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7432, allocations: 0 / 0.5781 GB, free: 10.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004983/0.7437, allocations: 133.3 kB / 0.5783 GB, free: 10.7 MB / 462.1 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.0005642/0.7443, allocations: 299.3 kB / 0.5786 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.7446, allocations: 81.75 kB / 0.5786 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7446, allocations: 4 kB / 0.5786 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.7447, allocations: 37.94 kB / 0.5787 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.7449, allocations: 14.2 kB / 0.5787 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.7455, allocations: 329.5 kB / 0.579 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.7458, allocations: 0.6889 MB / 0.5797 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.7459, allocations: 41.8 kB / 0.5797 GB, free: 9.598 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7459, allocations: 0 / 0.5797 GB, free: 9.598 MB / 462.1 MB Notification: Performance of Templates: time 0.006704/0.7527, allocations: 4.193 MB / 0.5838 GB, free: 8.129 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.150305164977908]