Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.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.001334/0.001334, 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.001445/0.001445, allocations: 205.2 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.596/1.596, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2625/0.2625, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold") translateModel(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.225e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002971/0.003003, allocations: 1.525 MB / 0.4988 GB, free: 5.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.004135, allocations: 0.5222 MB / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.004212, allocations: 3.938 kB / 0.4993 GB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.004249, allocations: 7.922 kB / 0.4993 GB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.004358, allocations: 15.86 kB / 0.4993 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.004675, allocations: 51.81 kB / 0.4993 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.00487, allocations: 115.7 kB / 0.4995 GB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.005018, allocations: 11.98 kB / 0.4995 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.005213, allocations: 51.83 kB / 0.4995 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.005306, allocations: 43.78 kB / 0.4996 GB, free: 4.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.00533, allocations: 8 kB / 0.4996 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.357e-05/0.005384, allocations: 12 kB / 0.4996 GB, free: 4.914 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001713/0.005555, allocations: 154.5 kB / 0.4997 GB, free: 4.762 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 6.785e-05/0.005623, allocations: 86.81 kB / 0.4998 GB, free: 4.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.005654, allocations: 8 kB / 0.4998 GB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.285e-05/0.005667, allocations: 4 kB / 0.4998 GB, free: 4.664 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0007578/0.006424, allocations: 0.5019 MB / 0.5003 GB, free: 4.043 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.048e-05/0.006515, allocations: 71.7 kB / 0.5004 GB, free: 3.961 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003586/0.006873, allocations: 296.1 kB / 0.5007 GB, free: 3.645 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001691/0.007043, allocations: 108.6 kB / 0.5008 GB, free: 3.492 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0005476/0.00759, allocations: 264.5 kB / 0.501 GB, free: 3.176 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001363/0.007726, allocations: 104.6 kB / 0.5011 GB, free: 3.027 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.993e-05/0.007796, allocations: 60.41 kB / 0.5012 GB, free: 2.941 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.000303/0.008099, allocations: 183.8 kB / 0.5013 GB, free: 2.707 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001162/0.008215, allocations: 33.2 kB / 0.5014 GB, free: 2.676 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002202/0.008436, allocations: 144 kB / 0.5015 GB, free: 2.527 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0003777/0.008813, allocations: 220.6 kB / 0.5017 GB, free: 2.305 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002335/0.009047, allocations: 239.6 kB / 0.502 GB, free: 2.07 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0004304/0.009477, allocations: 239.9 kB / 0.5022 GB, free: 1.77 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0003721/0.009849, allocations: 375.6 kB / 0.5025 GB, free: 1.398 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.723e-05/0.009877, allocations: 20.11 kB / 0.5026 GB, free: 1.371 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 6.06e-05/0.009937, allocations: 59.88 kB / 0.5026 GB, free: 1.312 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0008744/0.01081, allocations: 0.5724 MB / 0.5032 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 2.004e-05/0.01083, allocations: 16 kB / 0.5032 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 6.52e-07/0.01083, allocations: 7.938 kB / 0.5032 GB, free: 0.707 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.332e-06/0.01084, allocations: 0 / 0.5032 GB, free: 0.707 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.17e-05/0.01085, allocations: 8 kB / 0.5032 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.272e-05/0.01086, allocations: 11.98 kB / 0.5032 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0002049/0.01107, allocations: 113.8 kB / 0.5033 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 9.828e-06/0.01108, allocations: 0 / 0.5033 GB, free: 0.5742 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: ......... 1 * 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: .................... 7 (7) {firstOrderHold.firstTrigger, firstOrderHold.c, firstOrderHold.pre_uSample, firstOrderHold.uSample, firstOrderHold.tSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 0.0001133/0.01119, allocations: 29.44 kB / 0.5034 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006481/0.01184, allocations: 322.8 kB / 0.5037 GB, free: 216 kB / 366.1 MB Notification: Performance of Templates: time 0.004484/0.01632, allocations: 1.016 MB / 0.5047 GB, free: 15.21 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FirstOrderHold/FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.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: 5.1440444509498775]