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.001397/0.001397, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001485/0.001485, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.464/1.464, allocations: 230.4 MB / 258.1 MB, free: 8.156 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: 75.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2456, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002689/0.2482, allocations: 1.381 MB / 433.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.407/0.6552, allocations: 152.1 MB / 0.5718 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.6553, allocations: 2.188 kB / 0.5718 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.6553, allocations: 6.562 kB / 0.5718 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008598/0.6561, allocations: 242.4 kB / 0.572 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.6571, allocations: 402.6 kB / 0.5724 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.6571, allocations: 53.67 kB / 0.5724 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.6572, allocations: 5.875 kB / 0.5724 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.6572, allocations: 26.86 kB / 0.5725 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.6573, allocations: 27.25 kB / 0.5725 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.6573, allocations: 0 / 0.5725 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.6583, allocations: 0.6966 MB / 0.5732 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.6583, allocations: 9.562 kB / 0.5732 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.6584, allocations: 25.52 kB / 0.5732 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.659, allocations: 495.4 kB / 0.5737 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.659, allocations: 6.844 kB / 0.5737 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.659, allocations: 0 / 0.5737 GB, free: 12.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.659, allocations: 0 / 0.5737 GB, free: 12.87 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.0005873/0.6596, allocations: 439.1 kB / 0.5741 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.6596, allocations: 10.38 kB / 0.5741 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.6609, allocations: 105.2 kB / 0.5742 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.6612, allocations: 221.2 kB / 0.5744 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.6612, allocations: 2.781 kB / 0.5744 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.6613, allocations: 3.656 kB / 0.5744 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.6615, allocations: 102.9 kB / 0.5745 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6615, allocations: 0 / 0.5745 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6615, allocations: 0 / 0.5745 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6615, allocations: 2.844 kB / 0.5745 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.6617, allocations: 53.64 kB / 0.5746 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.6619, allocations: 214.6 kB / 0.5748 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.6624, allocations: 125 kB / 0.5749 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.6625, allocations: 35.8 kB / 0.5749 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008097/0.6633, allocations: 0.982 MB / 0.5759 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.6634, allocations: 39.23 kB / 0.5759 GB, free: 10.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6634, allocations: 5.203 kB / 0.5759 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004972/0.6639, allocations: 129.4 kB / 0.5761 GB, free: 10.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.6639, allocations: 79.2 kB / 0.5761 GB, free: 10.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.6641, allocations: 157.3 kB / 0.5763 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.6642, allocations: 25.7 kB / 0.5763 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.6642, allocations: 82.06 kB / 0.5764 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.6642, allocations: 25.92 kB / 0.5764 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.6643, allocations: 38.98 kB / 0.5764 GB, free: 10.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6645, allocations: 318.5 kB / 0.5768 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6646, allocations: 28.52 kB / 0.5768 GB, free: 10.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.6647, allocations: 53.78 kB / 0.5768 GB, free: 10.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.6649, allocations: 85.83 kB / 0.5769 GB, free: 9.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6649, allocations: 1.922 kB / 0.5769 GB, free: 9.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003279/0.6652, allocations: 121.5 kB / 0.577 GB, free: 9.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6652, allocations: 4.844 kB / 0.577 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6653, allocations: 2.281 kB / 0.577 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6653, allocations: 3 kB / 0.577 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.6654, allocations: 29.31 kB / 0.5771 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6654, allocations: 2.781 kB / 0.5771 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.6656, allocations: 8.531 kB / 0.5771 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.6656, allocations: 6.938 kB / 0.5771 GB, free: 9.934 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.133e-05/0.6657, allocations: 121 kB / 0.5772 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.6657, allocations: 8.688 kB / 0.5772 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.6663, allocations: 246.7 kB / 0.5774 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6663, allocations: 1.812 kB / 0.5774 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6663, allocations: 2.906 kB / 0.5774 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6663, allocations: 0 / 0.5774 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.6665, allocations: 216.5 kB / 0.5777 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6665, allocations: 3.938 kB / 0.5777 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.6667, allocations: 25.69 kB / 0.5777 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6667, allocations: 4 kB / 0.5777 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6667, allocations: 5.125 kB / 0.5777 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6667, allocations: 1.203 kB / 0.5777 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6667, allocations: 2.125 kB / 0.5777 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.6671, allocations: 178.9 kB / 0.5779 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.6672, allocations: 101.5 kB / 0.578 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.6672, allocations: 2.469 kB / 0.578 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6674, allocations: 4.656 kB / 0.578 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.6675, allocations: 8.969 kB / 0.578 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.6675, allocations: 4.422 kB / 0.578 GB, free: 9.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.6676, allocations: 128.7 kB / 0.5781 GB, free: 9.273 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6676, allocations: 1.094 kB / 0.5781 GB, free: 9.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.6681, allocations: 134.8 kB / 0.5782 GB, free: 9.25 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.000662/0.6688, allocations: 322.9 kB / 0.5785 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.6691, allocations: 75.14 kB / 0.5786 GB, free: 9.109 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6691, allocations: 0 / 0.5786 GB, free: 9.109 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.6692, allocations: 41.64 kB / 0.5787 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.6694, allocations: 21.75 kB / 0.5787 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.67, allocations: 305 kB / 0.579 GB, free: 8.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.6703, allocations: 0.693 MB / 0.5796 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.6707, allocations: 433.4 kB / 0.5801 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.6709, allocations: 39.95 kB / 0.5801 GB, free: 8.121 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6709, allocations: 0 / 0.5801 GB, free: 8.121 MB / 462.1 MB Notification: Performance of Templates: time 0.009404/0.6803, allocations: 5.27 MB / 0.5852 GB, free: 5.996 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 -s cvode -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: 5.000614406075329]