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.00187/0.00187, allocations: 113.9 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.002344/0.002344, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.456/1.456, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.00195/0.00195, allocations: 75.81 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2139, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.0024/0.2163, allocations: 1.378 MB / 433.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3595/0.5758, allocations: 152.1 MB / 0.5718 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.5758, allocations: 4 kB / 0.5718 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.5758, allocations: 1.781 kB / 0.5718 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.5766, allocations: 239.4 kB / 0.572 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.5774, allocations: 402.8 kB / 0.5724 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.5775, allocations: 56.64 kB / 0.5724 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.5775, allocations: 2.469 kB / 0.5724 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.5776, allocations: 20.25 kB / 0.5725 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.5776, allocations: 38.17 kB / 0.5725 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.5777, allocations: 2.906 kB / 0.5725 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.5786, allocations: 0.6935 MB / 0.5732 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.5786, allocations: 7.688 kB / 0.5732 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.5787, allocations: 25.09 kB / 0.5732 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.5793, allocations: 497.5 kB / 0.5737 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5793, allocations: 0 / 0.5737 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5793, allocations: 0 / 0.5737 GB, free: 12.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.5793, allocations: 0 / 0.5737 GB, free: 12.91 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.0006083/0.5799, allocations: 445 kB / 0.5741 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5799, allocations: 9.453 kB / 0.5741 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.5812, allocations: 103.9 kB / 0.5742 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.5815, allocations: 223.6 kB / 0.5744 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5815, allocations: 3.625 kB / 0.5744 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.5816, allocations: 6.094 kB / 0.5744 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.5818, allocations: 94.66 kB / 0.5745 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5818, allocations: 0 / 0.5745 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.5818, allocations: 3.688 kB / 0.5745 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.5818, allocations: 2.719 kB / 0.5745 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.582, allocations: 47.31 kB / 0.5746 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.5822, allocations: 217.4 kB / 0.5748 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.5827, allocations: 121.6 kB / 0.5749 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.5828, allocations: 36.11 kB / 0.5749 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007698/0.5836, allocations: 0.9863 MB / 0.5759 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5836, allocations: 37.05 kB / 0.5759 GB, free: 10.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 3.596e-06/0.5836, allocations: 6.484 kB / 0.5759 GB, free: 10.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004615/0.5841, allocations: 133.1 kB / 0.5761 GB, free: 10.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.5841, allocations: 83.98 kB / 0.5762 GB, free: 10.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.5843, allocations: 150.5 kB / 0.5763 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5843, allocations: 25.7 kB / 0.5763 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.5844, allocations: 93.38 kB / 0.5764 GB, free: 10.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5844, allocations: 20.38 kB / 0.5764 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.5845, allocations: 30.64 kB / 0.5765 GB, free: 10.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5846, allocations: 319.5 kB / 0.5768 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.803e-05/0.5847, allocations: 22.94 kB / 0.5768 GB, free: 10.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.5848, allocations: 59.91 kB / 0.5768 GB, free: 10.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.585, allocations: 84.33 kB / 0.5769 GB, free: 10.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5851, allocations: 0 / 0.5769 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003284/0.5854, allocations: 120 kB / 0.577 GB, free: 9.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5854, allocations: 9.875 kB / 0.577 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5854, allocations: 1.203 kB / 0.577 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.5854, allocations: 4.766 kB / 0.5771 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.5855, allocations: 24.72 kB / 0.5771 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5855, allocations: 0 / 0.5771 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.5857, allocations: 11.3 kB / 0.5771 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.5858, allocations: 11.22 kB / 0.5771 GB, free: 9.965 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.852e-05/0.5858, allocations: 120.8 kB / 0.5772 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.5859, allocations: 11.2 kB / 0.5772 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.5864, allocations: 238.6 kB / 0.5774 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5864, allocations: 0 / 0.5774 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5864, allocations: 1.078 kB / 0.5775 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.5865, allocations: 91.36 kB / 0.5775 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.5866, allocations: 8.828 kB / 0.5775 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.5868, allocations: 10.52 kB / 0.5776 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5868, allocations: 15.23 kB / 0.5776 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000541/0.5874, allocations: 284.1 kB / 0.5778 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004973/0.5879, allocations: 402.9 kB / 0.5782 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.957e-05/0.588, allocations: 32.5 kB / 0.5783 GB, free: 9.195 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.5881, allocations: 128.7 kB / 0.5784 GB, free: 9.121 MB / 462.1 MB Notification: Performance of Backend: time 3e-07/0.5881, allocations: 0 / 0.5784 GB, free: 9.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.5892, allocations: 358.4 kB / 0.5787 GB, free: 9.008 MB / 462.1 MB Notification: Performance of SimCode: time 0.0007783/0.59, allocations: 0.7667 MB / 0.5795 GB, free: 8.305 MB / 462.1 MB Notification: Performance of Templates: time 0.00893/0.5989, allocations: 5.522 MB / 0.5849 GB, free: 6.227 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: 4.792116570286453]