Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.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.00135/0.00135, 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.001449/0.001449, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.362e-05, allocations: 6.219 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004659/0.004692, allocations: 2.429 MB / 381.3 MB, free: 80 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2057/0.2104, allocations: 1.849 MB / 383.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2106, allocations: 17.03 kB / 383.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2118, allocations: 0.5554 MB / 383.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009126/0.2127, allocations: 0.4983 MB / 384.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.214, allocations: 0.5567 MB / 384.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.215, allocations: 1.001 MB / 385.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.2152, allocations: 79.52 kB / 385.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.2157, allocations: 443 kB / 386.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.2162, allocations: 379.2 kB / 386.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.2163, allocations: 44.56 kB / 386.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.2167, allocations: 246.8 kB / 387 MB, free: 11.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007348/0.2175, allocations: 1.14 MB / 388.1 MB, free: 11 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003139/0.2178, allocations: 0.6997 MB / 388.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.2178, allocations: 28.88 kB / 388.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.105e-05/0.2179, allocations: 19.95 kB / 388.9 MB, free: 10.5 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (44) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.001963/0.2199, allocations: 2.36 MB / 391.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000266/0.2202, allocations: 236.1 kB / 391.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006646/0.2208, allocations: 0.7686 MB / 392.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002817/0.2211, allocations: 220.2 kB / 392.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001343/0.2224, allocations: 1.077 MB / 393.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002252/0.2227, allocations: 201.2 kB / 393.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001187/0.2228, allocations: 139.6 kB / 393.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004045/0.2232, allocations: 357.5 kB / 394.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000204/0.2234, allocations: 157.5 kB / 394.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004972/0.2239, allocations: 424.9 kB / 394.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001057/0.225, allocations: 0.7522 MB / 395.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006551/0.2256, allocations: 0.7187 MB / 396.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.005965/0.2316, allocations: 1.484 MB / 397.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001185/0.2328, allocations: 1.309 MB / 399 MB, free: 4.387 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.794e-05/0.2328, allocations: 36.75 kB / 399.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002568/0.2331, allocations: 304 kB / 399.4 MB, free: 4.176 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $PRE.stop.table.y = $START.stop.table.y ($RES_SRT_77); [SCAL] (1) $PRE.start.table.y = $START.start.table.y ($RES_SRT_75); Notification: Performance of [INI] Causalize: time 0.004816/0.2379, allocations: 3.563 MB / 402.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.488e-05/0.2379, allocations: 48.88 kB / 403 MB, free: 3.164 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.334e-06/0.2379, allocations: 1.344 kB / 403 MB, free: 3.164 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.515e-05/0.238, allocations: 192 / 403 MB, free: 3.164 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.329e-05/0.238, allocations: 30.66 kB / 403 MB, free: 3.141 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.44e-05/0.238, allocations: 3.688 kB / 403 MB, free: 3.141 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007712/0.2388, allocations: 0.6062 MB / 403.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.919e-06/0.2388, allocations: 4 kB / 403.6 MB, free: 2.836 MB / 302.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: ......... 5 * 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: .................... 8 (8) {stop.table.combiTimeTable.nextTimeEvent, stop.table.combiTimeTable.nextTimeEventScaled, start.table.combiTimeTable.nextTimeEvent, start.table.combiTimeTable.nextTimeEventScaled, booleanTable.combiTimeTable.nextTimeEvent, booleanTable.combiTimeTable.nextTimeEventScaled, integerTable.combiTimeTable.nextTimeEvent, integerTable.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 34 (34) {integerValue.numberPort, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, booleanValue.activePort, start.reset, start.on, start.table.y, start.pre_reset, stop.reset, stop.on, stop.table.y, stop.pre_reset, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $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: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 11 (algorithm:3, when:8, 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: ........... 87 (scalar:73, array:10, record:4) * Number of multi strong components: ............ 11 (algorithm:11, 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 6.08e-05/0.2388, allocations: 71.47 kB / 403.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of SimCode: time 0.00445/0.2433, allocations: 2.802 MB / 406.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of Templates: time 0.01452/0.2578, allocations: 7.411 MB / 413.9 MB, free: 9.969 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,booleanTable.y,integerTable.y,start.on,start.reset[1],stop.on,stop.reset[1] Variables in the result:booleanTable.combiTimeTable.columns[1],booleanTable.combiTimeTable.extrapolation,booleanTable.combiTimeTable.isCsvExt,booleanTable.combiTimeTable.nHeaderLines,booleanTable.combiTimeTable.nout,booleanTable.combiTimeTable.offset[1],booleanTable.combiTimeTable.p_offset[1],booleanTable.combiTimeTable.shiftTime,booleanTable.combiTimeTable.smoothness,booleanTable.combiTimeTable.startTime,booleanTable.combiTimeTable.t_max,booleanTable.combiTimeTable.t_maxScaled,booleanTable.combiTimeTable.t_min,booleanTable.combiTimeTable.t_minScaled,booleanTable.combiTimeTable.tableOnFile,booleanTable.combiTimeTable.table[1,1],booleanTable.combiTimeTable.table[1,2],booleanTable.combiTimeTable.table[10,1],booleanTable.combiTimeTable.table[10,2],booleanTable.combiTimeTable.table[2,1],booleanTable.combiTimeTable.table[2,2],booleanTable.combiTimeTable.table[3,1],booleanTable.combiTimeTable.table[3,2],booleanTable.combiTimeTable.table[4,1],booleanTable.combiTimeTable.table[4,2],booleanTable.combiTimeTable.table[5,1],booleanTable.combiTimeTable.table[5,2],booleanTable.combiTimeTable.table[6,1],booleanTable.combiTimeTable.table[6,2],booleanTable.combiTimeTable.table[7,1],booleanTable.combiTimeTable.table[7,2],booleanTable.combiTimeTable.table[8,1],booleanTable.combiTimeTable.table[8,2],booleanTable.combiTimeTable.table[9,1],booleanTable.combiTimeTable.table[9,2],booleanTable.combiTimeTable.timeEvents,booleanTable.combiTimeTable.timeScale,booleanTable.combiTimeTable.timeScaled,booleanTable.combiTimeTable.verboseExtrapolation,booleanTable.combiTimeTable.verboseRead,booleanTable.extrapolation,booleanTable.n,booleanTable.realToBoolean.threshold,booleanTable.shiftTime,booleanTable.startTime,booleanTable.startValue,booleanTable.table[1],booleanTable.table[2],booleanTable.table[3],booleanTable.table[4],booleanTable.table[5],booleanTable.table[6],booleanTable.table[7],booleanTable.table[8],booleanTable.table[9],booleanTable.y,booleanValue.activePort,integerTable.combiTimeTable.columns[1],integerTable.combiTimeTable.extrapolation,integerTable.combiTimeTable.isCsvExt,integerTable.combiTimeTable.nHeaderLines,integerTable.combiTimeTable.nout,integerTable.combiTimeTable.offset[1],integerTable.combiTimeTable.p_offset[1],integerTable.combiTimeTable.shiftTime,integerTable.combiTimeTable.smoothness,integerTable.combiTimeTable.startTime,integerTable.combiTimeTable.t_max,integerTable.combiTimeTable.t_maxScaled,integerTable.combiTimeTable.t_min,integerTable.combiTimeTable.t_minScaled,integerTable.combiTimeTable.tableOnFile,integerTable.combiTimeTable.table[1,1],integerTable.combiTimeTable.table[1,2],integerTable.combiTimeTable.table[2,1],integerTable.combiTimeTable.table[2,2],integerTable.combiTimeTable.table[3,1],integerTable.combiTimeTable.table[3,2],integerTable.combiTimeTable.table[4,1],integerTable.combiTimeTable.table[4,2],integerTable.combiTimeTable.table[5,1],integerTable.combiTimeTable.table[5,2],integerTable.combiTimeTable.table[6,1],integerTable.combiTimeTable.table[6,2],integerTable.combiTimeTable.timeEvents,integerTable.combiTimeTable.timeScale,integerTable.combiTimeTable.timeScaled,integerTable.combiTimeTable.verboseExtrapolation,integerTable.combiTimeTable.verboseRead,integerTable.extrapolation,integerTable.n,integerTable.shiftTime,integerTable.startTime,integerTable.table[1,1],integerTable.table[1,2],integerTable.table[2,1],integerTable.table[2,2],integerTable.table[3,1],integerTable.table[3,2],integerTable.table[4,1],integerTable.table[4,2],integerTable.table[5,1],integerTable.table[5,2],integerTable.table[6,1],integerTable.table[6,2],integerTable.y,integerValue.numberPort,realValue.significantDigits,start.buttonTimeTable[1],start.buttonTimeTable[2],start.nReset,start.on,start.reset[1],start.table.combiTimeTable.columns[1],start.table.combiTimeTable.extrapolation,start.table.combiTimeTable.isCsvExt,start.table.combiTimeTable.nHeaderLines,start.table.combiTimeTable.nout,start.table.combiTimeTable.offset[1],start.table.combiTimeTable.p_offset[1],start.table.combiTimeTable.shiftTime,start.table.combiTimeTable.smoothness,start.table.combiTimeTable.startTime,start.table.combiTimeTable.t_max,start.table.combiTimeTable.t_maxScaled,start.table.combiTimeTable.t_min,start.table.combiTimeTable.t_minScaled,start.table.combiTimeTable.tableOnFile,start.table.combiTimeTable.table[1,1],start.table.combiTimeTable.table[1,2],start.table.combiTimeTable.table[2,1],start.table.combiTimeTable.table[2,2],start.table.combiTimeTable.table[3,1],start.table.combiTimeTable.table[3,2],start.table.combiTimeTable.timeEvents,start.table.combiTimeTable.timeScale,start.table.combiTimeTable.timeScaled,start.table.combiTimeTable.verboseExtrapolation,start.table.combiTimeTable.verboseRead,start.table.extrapolation,start.table.n,start.table.realToBoolean.threshold,start.table.shiftTime,start.table.startTime,start.table.startValue,start.table.table[1],start.table.table[2],stop.buttonTimeTable[1],stop.buttonTimeTable[2],stop.nReset,stop.on,stop.reset[1],stop.table.combiTimeTable.columns[1],stop.table.combiTimeTable.extrapolation,stop.table.combiTimeTable.isCsvExt,stop.table.combiTimeTable.nHeaderLines,stop.table.combiTimeTable.nout,stop.table.combiTimeTable.offset[1],stop.table.combiTimeTable.p_offset[1],stop.table.combiTimeTable.shiftTime,stop.table.combiTimeTable.smoothness,stop.table.combiTimeTable.startTime,stop.table.combiTimeTable.t_max,stop.table.combiTimeTable.t_maxScaled,stop.table.combiTimeTable.t_min,stop.table.combiTimeTable.t_minScaled,stop.table.combiTimeTable.tableOnFile,stop.table.combiTimeTable.table[1,1],stop.table.combiTimeTable.table[1,2],stop.table.combiTimeTable.table[2,1],stop.table.combiTimeTable.table[2,2],stop.table.combiTimeTable.table[3,1],stop.table.combiTimeTable.table[3,2],stop.table.combiTimeTable.timeEvents,stop.table.combiTimeTable.timeScale,stop.table.combiTimeTable.timeScaled,stop.table.combiTimeTable.verboseExtrapolation,stop.table.combiTimeTable.verboseRead,stop.table.extrapolation,stop.table.n,stop.table.realToBoolean.threshold,stop.table.shiftTime,stop.table.startTime,stop.table.startValue,stop.table.table[1],stop.table.table[2],time,timeTable.offset,timeTable.shiftTime,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2],timeTable.timeScale,timeTable.timeScaled [Calling sys.exit(0), Time elapsed: 4.882429487071931]