Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001321/0.001321, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001474/0.001474, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 44.93 MB / 359.7 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.182e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001874/0.001906, allocations: 483.6 kB / 0.4948 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.00589, allocations: 2.063 MB / 0.4968 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.00591, allocations: 0 / 0.4968 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.005931, allocations: 0 / 0.4968 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.109e-05/0.005952, allocations: 4 kB / 0.4968 GB, free: 7.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.007344, allocations: 406.7 kB / 0.4972 GB, free: 7.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.0074, allocations: 3.938 kB / 0.4972 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.007465, allocations: 4 kB / 0.4972 GB, free: 7.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.676e-05/0.007481, allocations: 0 / 0.4972 GB, free: 7.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01991/0.02739, allocations: 3.393 MB / 0.5005 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.0274, allocations: 0 / 0.5005 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.02749, allocations: 4 kB / 0.5005 GB, free: 4.336 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.743e-05/0.02752, allocations: 11.88 kB / 0.5005 GB, free: 4.324 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 9.778e-06/0.02753, allocations: 3.906 kB / 0.5005 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.02755, allocations: 4 kB / 0.5005 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.736e-05/0.02761, allocations: 0 / 0.5005 GB, free: 4.316 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of [SIM] Bindings: time 0.0004069/0.02802, allocations: 193.6 kB / 0.5007 GB, free: 4.008 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.058e-05/0.02805, allocations: 27.91 kB / 0.5007 GB, free: 3.969 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.000121/0.02817, allocations: 60.34 kB / 0.5008 GB, free: 3.883 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.102e-05/0.02824, allocations: 60.69 kB / 0.5008 GB, free: 3.777 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 7.57e-05/0.02831, allocations: 72.66 kB / 0.5009 GB, free: 3.656 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.154e-05/0.02839, allocations: 64.67 kB / 0.501 GB, free: 3.547 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.987e-05/0.02843, allocations: 36.42 kB / 0.501 GB, free: 3.484 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.235e-05/0.02852, allocations: 72.86 kB / 0.5011 GB, free: 3.359 MB / 366.1 MB Notification: Performance of [SIM] Events: time 7.603e-05/0.02859, allocations: 19.92 kB / 0.5011 GB, free: 3.34 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.179e-05/0.02868, allocations: 36.22 kB / 0.5011 GB, free: 3.289 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0002012/0.02888, allocations: 52.17 kB / 0.5012 GB, free: 3.223 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.638e-05/0.0289, allocations: 27.84 kB / 0.5012 GB, free: 3.195 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001526/0.02906, allocations: 101.5 kB / 0.5013 GB, free: 3.027 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.655e-05/0.02909, allocations: 35.98 kB / 0.5013 GB, free: 2.988 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.702e-05/0.02911, allocations: 16.11 kB / 0.5014 GB, free: 2.965 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 8.015e-06/0.02912, allocations: 0 / 0.5014 GB, free: 2.965 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 8.316e-05/0.0292, allocations: 36.11 kB / 0.5014 GB, free: 2.922 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.247e-05/0.02921, allocations: 4 kB / 0.5014 GB, free: 2.918 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.9e-07/0.02921, allocations: 0 / 0.5014 GB, free: 2.918 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.203e-05/0.02925, allocations: 24.19 kB / 0.5014 GB, free: 2.879 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.584e-06/0.02925, allocations: 4 kB / 0.5014 GB, free: 2.875 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.152e-06/0.02925, allocations: 4.188 kB / 0.5014 GB, free: 2.871 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 9.467e-06/0.02926, allocations: 4 kB / 0.5014 GB, free: 2.867 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 4.633e-05/0.02931, allocations: 7.984 kB / 0.5014 GB, free: 2.859 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.546e-06/0.02932, allocations: 0 / 0.5014 GB, free: 2.859 MB / 366.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: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$SEV_1, $SEV_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: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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.971e-05/0.02936, allocations: 29.28 kB / 0.5015 GB, free: 2.836 MB / 366.1 MB Notification: Performance of SimCode: time 0.0004053/0.02976, allocations: 152.1 kB / 0.5016 GB, free: 2.668 MB / 366.1 MB Notification: Performance of Templates: time 0.002672/0.03244, allocations: 447.8 kB / 0.502 GB, free: 2.234 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.908696848026011]