Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 116.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 216.3 kB / 21.42 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 43.92 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 53.34 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002541/0.1056, allocations: 1.376 MB / 428.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3816/0.4872, allocations: 152 MB / 0.5673 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.4872, allocations: 0 / 0.5673 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.4873, allocations: 0 / 0.5673 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009244/0.4882, allocations: 246.8 kB / 0.5675 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4893, allocations: 398.2 kB / 0.5679 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.4894, allocations: 55.73 kB / 0.568 GB, free: 6.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.4894, allocations: 5.672 kB / 0.568 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.4895, allocations: 23.92 kB / 0.568 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.4896, allocations: 35.83 kB / 0.568 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.4896, allocations: 0 / 0.568 GB, free: 5.957 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.4909, allocations: 0.6979 MB / 0.5687 GB, free: 5.258 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.4909, allocations: 4 kB / 0.5687 GB, free: 5.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.4909, allocations: 27.84 kB / 0.5687 GB, free: 5.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.4917, allocations: 496.9 kB / 0.5692 GB, free: 4.746 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4917, allocations: 0 / 0.5692 GB, free: 4.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4917, allocations: 0 / 0.5692 GB, free: 4.746 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.4917, allocations: 0 / 0.5692 GB, free: 4.746 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.0006014/0.4923, allocations: 438.5 kB / 0.5696 GB, free: 4.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4924, allocations: 12.03 kB / 0.5696 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.4937, allocations: 112.7 kB / 0.5697 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.4941, allocations: 219.9 kB / 0.5699 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4941, allocations: 4 kB / 0.57 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.4941, allocations: 4 kB / 0.57 GB, free: 3.887 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.4944, allocations: 91.33 kB / 0.57 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4944, allocations: 2.344 kB / 0.57 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4944, allocations: 0 / 0.57 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4944, allocations: 4 kB / 0.57 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.4946, allocations: 43.89 kB / 0.5701 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.4949, allocations: 206.9 kB / 0.5703 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.4954, allocations: 129.1 kB / 0.5704 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4955, allocations: 33.77 kB / 0.5704 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000749/0.4963, allocations: 0.994 MB / 0.5714 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4963, allocations: 34.5 kB / 0.5714 GB, free: 2.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4963, allocations: 4 kB / 0.5715 GB, free: 2.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005362/0.4969, allocations: 133.5 kB / 0.5716 GB, free: 1.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.4969, allocations: 81.11 kB / 0.5717 GB, free: 1.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4971, allocations: 159.2 kB / 0.5718 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4972, allocations: 25.7 kB / 0.5718 GB, free: 1.609 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.4972, allocations: 84.14 kB / 0.5719 GB, free: 1.523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.4973, allocations: 27.84 kB / 0.5719 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.4973, allocations: 25.7 kB / 0.572 GB, free: 1.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4975, allocations: 322.8 kB / 0.5723 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4976, allocations: 27.97 kB / 0.5723 GB, free: 1.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4977, allocations: 55.34 kB / 0.5723 GB, free: 1.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.4979, allocations: 83.41 kB / 0.5724 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.498, allocations: 0 / 0.5724 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003533/0.4983, allocations: 121.4 kB / 0.5725 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4983, allocations: 4 kB / 0.5725 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4983, allocations: 4 kB / 0.5726 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4984, allocations: 3.938 kB / 0.5726 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4985, allocations: 32.03 kB / 0.5726 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4985, allocations: 0 / 0.5726 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4987, allocations: 7.938 kB / 0.5726 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.4987, allocations: 11.98 kB / 0.5726 GB, free: 0.7656 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 0.0001004/0.4988, allocations: 117.7 kB / 0.5727 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.4989, allocations: 11.95 kB / 0.5727 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.4995, allocations: 233.7 kB / 0.573 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4995, allocations: 0 / 0.573 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4995, allocations: 0.625 kB / 0.573 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4995, allocations: 0.5156 kB / 0.573 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.4998, allocations: 222.9 kB / 0.5732 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4998, allocations: 0 / 0.5732 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4999, allocations: 21.16 kB / 0.5732 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5, allocations: 8 kB / 0.5732 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5, allocations: 4 kB / 0.5732 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5, allocations: 5.188 kB / 0.5732 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5, allocations: 4 kB / 0.5732 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.5004, allocations: 178.5 kB / 0.5734 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.5005, allocations: 97.08 kB / 0.5735 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.5006, allocations: 7.984 kB / 0.5735 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5007, allocations: 6.312 kB / 0.5735 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.5008, allocations: 11.92 kB / 0.5735 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.5008, allocations: 4 kB / 0.5735 GB, free: 15.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.501, allocations: 127.2 kB / 0.5736 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.501, allocations: 0 / 0.5736 GB, free: 15.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.5015, allocations: 131.6 kB / 0.5737 GB, free: 15.5 MB / 494.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.0006576/0.5022, allocations: 315.3 kB / 0.574 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.5025, allocations: 75.81 kB / 0.5741 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5025, allocations: 0 / 0.5741 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.5026, allocations: 39.92 kB / 0.5742 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.5029, allocations: 13.62 kB / 0.5742 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.5035, allocations: 329.1 kB / 0.5745 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5038, allocations: 0.6885 MB / 0.5752 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.504, allocations: 51.27 kB / 0.5752 GB, free: 13.94 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.504, allocations: 0 / 0.5752 GB, free: 13.94 MB / 494.1 MB Notification: Performance of Templates: time 0.007181/0.5112, allocations: 4.178 MB / 0.5793 GB, free: 9.777 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.858227282995358]