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.001304/0.001304, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.00139/0.00139, allocations: 204.8 kB / 24.49 MB, free: 3.961 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 7.793 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 - Absyn->SCode: time 1.854e-05/1.854e-05, allocations: 6.281 kB / 378.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002189/0.002207, allocations: 1.336 MB / 380.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.293/0.2952, allocations: 130.6 MB / 0.4989 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.2953, allocations: 4 kB / 0.4989 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.2953, allocations: 3.938 kB / 0.4989 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.2962, allocations: 246.6 kB / 0.4992 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2973, allocations: 400.7 kB / 0.4996 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.2974, allocations: 59.66 kB / 0.4996 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2974, allocations: 4 kB / 0.4996 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.2974, allocations: 31.84 kB / 0.4996 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.2975, allocations: 27.91 kB / 0.4997 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2975, allocations: 0 / 0.4997 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.2985, allocations: 0.5887 MB / 0.5002 GB, free: 7.688 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001042/0.2986, allocations: 95.77 kB / 0.5003 GB, free: 7.594 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 4.001e-05/0.2986, allocations: 55.39 kB / 0.5004 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.372e-05/0.2986, allocations: 4 kB / 0.5004 GB, free: 7.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.434e-06/0.2986, allocations: 0 / 0.5004 GB, free: 7.535 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of [SIM] Bindings: time 0.0005182/0.2992, allocations: 368.5 kB / 0.5007 GB, free: 7.059 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.432e-05/0.2992, allocations: 40.02 kB / 0.5008 GB, free: 7.008 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004892/0.2997, allocations: 351.8 kB / 0.5011 GB, free: 6.648 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000165/0.2999, allocations: 127.9 kB / 0.5012 GB, free: 6.484 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.0001393/0.3, allocations: 128.7 kB / 0.5014 GB, free: 6.309 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001532/0.3002, allocations: 140.9 kB / 0.5015 GB, free: 6.141 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 4.68e-05/0.3002, allocations: 48.36 kB / 0.5015 GB, free: 6.066 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0001729/0.3004, allocations: 120.6 kB / 0.5017 GB, free: 5.895 MB / 414.1 MB Notification: Performance of [SIM] Events: time 8.406e-05/0.3005, allocations: 27.92 kB / 0.5017 GB, free: 5.867 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001396/0.3006, allocations: 99.95 kB / 0.5018 GB, free: 5.762 MB / 414.1 MB Notification: Performance of [SIM] Causalize: time 0.0002816/0.3009, allocations: 124 kB / 0.5019 GB, free: 5.633 MB / 414.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001329/0.301, allocations: 143.8 kB / 0.502 GB, free: 5.492 MB / 414.1 MB Notification: Performance of [INI] Simplify: time 0.000626/0.3017, allocations: 418.3 kB / 0.5024 GB, free: 5.031 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.0005345/0.3022, allocations: 476.5 kB / 0.5029 GB, free: 4.574 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 2.332e-05/0.3022, allocations: 16.06 kB / 0.5029 GB, free: 4.551 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 6.555e-05/0.3023, allocations: 59.86 kB / 0.503 GB, free: 4.492 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.000354/0.3026, allocations: 255.2 kB / 0.5032 GB, free: 4.238 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 1.257e-05/0.3026, allocations: 4 kB / 0.5032 GB, free: 4.234 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 4.61e-07/0.3027, allocations: 4 kB / 0.5032 GB, free: 4.23 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.316e-06/0.3027, allocations: 0 / 0.5032 GB, free: 4.23 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 3.126e-06/0.3027, allocations: 8 kB / 0.5032 GB, free: 4.223 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 4.819e-06/0.3027, allocations: 0 / 0.5032 GB, free: 4.223 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.0004414/0.3031, allocations: 289.2 kB / 0.5035 GB, free: 3.957 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002013/0.3033, allocations: 226 kB / 0.5037 GB, free: 3.699 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {h1, s1} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.672e-05/0.3033, allocations: 32.19 kB / 0.5037 GB, free: 3.672 MB / 414.1 MB Notification: Performance of SimCode: time 0.001991/0.3053, allocations: 1.177 MB / 0.5049 GB, free: 2.496 MB / 414.1 MB Notification: Performance of Templates: time 0.008402/0.3137, allocations: 4.521 MB / 0.5093 GB, free: 13.97 MB / 430.1 MB " [Timeout remaining time 660] 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/jenkins/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/jenkins/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: 4.6512400400824845]