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.001481/0.001481, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.0017/0.0017, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.412/1.412, allocations: 230.5 MB / 258.1 MB, free: 8.121 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.001878/0.001878, allocations: 63.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2442, allocations: 53.32 MB / 432 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002492/0.2467, allocations: 1.373 MB / 433.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3767/0.6234, allocations: 152.1 MB / 0.5718 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.6234, allocations: 1.203 kB / 0.5718 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.6234, allocations: 5.953 kB / 0.5718 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.6242, allocations: 244.3 kB / 0.572 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000852/0.6251, allocations: 400.4 kB / 0.5724 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.6252, allocations: 58.23 kB / 0.5724 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.6252, allocations: 2.625 kB / 0.5724 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.6252, allocations: 25.09 kB / 0.5725 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.6253, allocations: 28.88 kB / 0.5725 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.6253, allocations: 0 / 0.5725 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6263, allocations: 0.691 MB / 0.5732 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.6264, allocations: 10.19 kB / 0.5732 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.6264, allocations: 25.45 kB / 0.5732 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.627, allocations: 0.4918 MB / 0.5737 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.627, allocations: 1.203 kB / 0.5737 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.627, allocations: 0 / 0.5737 GB, free: 12.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.627, allocations: 0 / 0.5737 GB, free: 12.88 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.0005772/0.6276, allocations: 437.7 kB / 0.5741 GB, free: 12.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.6276, allocations: 7.594 kB / 0.5741 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.6289, allocations: 113.8 kB / 0.5742 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.6291, allocations: 218.4 kB / 0.5744 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6292, allocations: 3.938 kB / 0.5744 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6292, allocations: 4.844 kB / 0.5744 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.6294, allocations: 96.09 kB / 0.5745 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6294, allocations: 0 / 0.5745 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.6294, allocations: 6.891 kB / 0.5745 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6294, allocations: 1.203 kB / 0.5745 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.6296, allocations: 47.75 kB / 0.5746 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.6298, allocations: 215.8 kB / 0.5748 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.6303, allocations: 123.8 kB / 0.5749 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.6304, allocations: 35.95 kB / 0.5749 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/0.6311, allocations: 0.992 MB / 0.5759 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6311, allocations: 30.56 kB / 0.5759 GB, free: 10.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.6311, allocations: 2.781 kB / 0.5759 GB, free: 10.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004408/0.6316, allocations: 137.1 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.6316, allocations: 83.55 kB / 0.5761 GB, free: 10.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.6318, allocations: 154.1 kB / 0.5763 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.6319, allocations: 29.27 kB / 0.5763 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.6319, allocations: 82.86 kB / 0.5764 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.6319, allocations: 19.8 kB / 0.5764 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.632, allocations: 30.84 kB / 0.5764 GB, free: 10.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6321, allocations: 323.2 kB / 0.5768 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.6322, allocations: 26.8 kB / 0.5768 GB, free: 10.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.6323, allocations: 53.89 kB / 0.5768 GB, free: 10.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.6325, allocations: 87.81 kB / 0.5769 GB, free: 9.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6325, allocations: 0 / 0.5769 GB, free: 9.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000311/0.6329, allocations: 121.6 kB / 0.577 GB, free: 9.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.6329, allocations: 5.281 kB / 0.577 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6329, allocations: 4.438 kB / 0.577 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6329, allocations: 0 / 0.577 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.633, allocations: 24.59 kB / 0.5771 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.633, allocations: 5.109 kB / 0.5771 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.6332, allocations: 14.66 kB / 0.5771 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.6332, allocations: 7.234 kB / 0.5771 GB, free: 9.938 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 8.936e-05/0.6333, allocations: 117.2 kB / 0.5772 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.6333, allocations: 6.859 kB / 0.5772 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.6339, allocations: 253.3 kB / 0.5775 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6339, allocations: 1.094 kB / 0.5775 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.6339, allocations: 0 / 0.5775 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6339, allocations: 2.688 kB / 0.5775 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.6341, allocations: 217.9 kB / 0.5777 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6341, allocations: 0 / 0.5777 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.6343, allocations: 29.58 kB / 0.5777 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6343, allocations: 0 / 0.5777 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6343, allocations: 2.75 kB / 0.5777 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6343, allocations: 0 / 0.5777 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6343, allocations: 6.125 kB / 0.5777 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.6347, allocations: 178.6 kB / 0.5779 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.6347, allocations: 94.14 kB / 0.578 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.6348, allocations: 3.125 kB / 0.578 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.6349, allocations: 5 kB / 0.578 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.635, allocations: 13.75 kB / 0.578 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.635, allocations: 2.062 kB / 0.578 GB, free: 9.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.6351, allocations: 131.9 kB / 0.5781 GB, free: 9.281 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6351, allocations: 0 / 0.5781 GB, free: 9.281 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000435/0.6356, allocations: 135.6 kB / 0.5782 GB, free: 9.258 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.0006551/0.6362, allocations: 324.1 kB / 0.5785 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.6366, allocations: 75.89 kB / 0.5786 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6366, allocations: 0 / 0.5786 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.6367, allocations: 37.88 kB / 0.5787 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.6369, allocations: 16.03 kB / 0.5787 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.6374, allocations: 336.7 kB / 0.579 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.6378, allocations: 0.6857 MB / 0.5797 GB, free: 8.156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.638, allocations: 50.75 kB / 0.5797 GB, free: 8.141 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.638, allocations: 0 / 0.5797 GB, free: 8.141 MB / 462.1 MB Notification: Performance of Templates: time 0.008264/0.6462, allocations: 4.195 MB / 0.5838 GB, free: 6.719 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_2/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_2/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: 7.4203978488221765]