Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001861/0.001861, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002218/0.002218, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 255.1 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 59.91 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.102, allocations: 53.32 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002775/0.1048, allocations: 1.37 MB / 429.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3568/0.4616, allocations: 152 MB / 0.5676 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.4616, allocations: 0 / 0.5676 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.4617, allocations: 7.938 kB / 0.5676 GB, free: 1.395 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008366/0.4625, allocations: 246.3 kB / 0.5679 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.4635, allocations: 395.3 kB / 0.5682 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.4636, allocations: 55.7 kB / 0.5683 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.4636, allocations: 7.984 kB / 0.5683 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.4637, allocations: 19.94 kB / 0.5683 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.4637, allocations: 35.83 kB / 0.5683 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.4638, allocations: 4 kB / 0.5683 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.4651, allocations: 0.6863 MB / 0.569 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.4651, allocations: 16.55 kB / 0.569 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.4651, allocations: 15.94 kB / 0.569 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.4659, allocations: 0.4969 MB / 0.5695 GB, free: 15.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4659, allocations: 0 / 0.5695 GB, free: 15.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4659, allocations: 0 / 0.5695 GB, free: 15.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4659, allocations: 0 / 0.5695 GB, free: 15.45 MB / 478.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.0006248/0.4665, allocations: 442.5 kB / 0.57 GB, free: 14.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4666, allocations: 12.03 kB / 0.57 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.468, allocations: 105.8 kB / 0.5701 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.4683, allocations: 220 kB / 0.5703 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4683, allocations: 0 / 0.5703 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.4683, allocations: 8 kB / 0.5703 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.4686, allocations: 96.14 kB / 0.5704 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4686, allocations: 3.938 kB / 0.5704 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4686, allocations: 0 / 0.5704 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4686, allocations: 4 kB / 0.5704 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.4688, allocations: 39.95 kB / 0.5704 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.4691, allocations: 206.9 kB / 0.5706 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.4696, allocations: 129.1 kB / 0.5707 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.4697, allocations: 37.17 kB / 0.5708 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008218/0.4705, allocations: 0.9862 MB / 0.5717 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4706, allocations: 42.55 kB / 0.5718 GB, free: 12.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4706, allocations: 0 / 0.5718 GB, free: 12.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005167/0.4711, allocations: 125.5 kB / 0.5719 GB, free: 12.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4712, allocations: 85.09 kB / 0.572 GB, free: 12.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.4714, allocations: 155.4 kB / 0.5721 GB, free: 12.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4715, allocations: 25.7 kB / 0.5722 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.4715, allocations: 92.08 kB / 0.5722 GB, free: 12.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.4715, allocations: 27.83 kB / 0.5723 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.4716, allocations: 33.62 kB / 0.5723 GB, free: 12.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4718, allocations: 318.8 kB / 0.5726 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.4719, allocations: 27.97 kB / 0.5726 GB, free: 11.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.472, allocations: 55.41 kB / 0.5727 GB, free: 11.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.4722, allocations: 87.72 kB / 0.5728 GB, free: 11.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4722, allocations: 2.812 kB / 0.5728 GB, free: 11.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003629/0.4726, allocations: 121.5 kB / 0.5729 GB, free: 11.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4726, allocations: 4 kB / 0.5729 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4726, allocations: 8.062 kB / 0.5729 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4726, allocations: 0 / 0.5729 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4728, allocations: 27.97 kB / 0.5729 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4728, allocations: 3.938 kB / 0.5729 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.473, allocations: 7.938 kB / 0.5729 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.473, allocations: 11.98 kB / 0.5729 GB, free: 11.46 MB / 478.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.364e-05/0.4731, allocations: 113.8 kB / 0.5731 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.4732, allocations: 7.953 kB / 0.5731 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.4738, allocations: 242.9 kB / 0.5733 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4738, allocations: 0 / 0.5733 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4738, allocations: 0 / 0.5733 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4738, allocations: 0 / 0.5733 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.474, allocations: 218.9 kB / 0.5735 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.474, allocations: 0.875 kB / 0.5735 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.4742, allocations: 27.91 kB / 0.5735 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4742, allocations: 4 kB / 0.5735 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4742, allocations: 4 kB / 0.5735 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4742, allocations: 0 / 0.5735 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4742, allocations: 4 kB / 0.5735 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.4747, allocations: 176.1 kB / 0.5737 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.4748, allocations: 101 kB / 0.5738 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.4748, allocations: 0 / 0.5738 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.475, allocations: 11.94 kB / 0.5738 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.475, allocations: 7.984 kB / 0.5738 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.4751, allocations: 11.88 kB / 0.5738 GB, free: 10.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4753, allocations: 127.2 kB / 0.574 GB, free: 10.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4753, allocations: 0 / 0.574 GB, free: 10.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.4757, allocations: 135.6 kB / 0.5741 GB, free: 10.2 MB / 478.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.0007331/0.4765, allocations: 320.6 kB / 0.5744 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.4768, allocations: 75.81 kB / 0.5745 GB, free: 9.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4768, allocations: 0 / 0.5745 GB, free: 9.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.4769, allocations: 44.05 kB / 0.5745 GB, free: 9.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4771, allocations: 14.41 kB / 0.5745 GB, free: 9.758 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.4777, allocations: 329.9 kB / 0.5748 GB, free: 9.406 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.478, allocations: 0.6924 MB / 0.5755 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4782, allocations: 39.39 kB / 0.5756 GB, free: 8.648 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4782, allocations: 0 / 0.5756 GB, free: 8.648 MB / 478.1 MB Notification: Performance of Templates: time 0.007203/0.4854, allocations: 4.192 MB / 0.5796 GB, free: 4.453 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.577032965840772]