Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.001553/0.001553, allocations: 205.2 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.659/1.659, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2647/0.2647, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.111e-05/4.111e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.005984/0.006025, allocations: 1.622 MB / 0.4988 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.0081, allocations: 0.5533 MB / 0.4994 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.008223, allocations: 4 kB / 0.4994 GB, free: 5.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.008397, allocations: 11.88 kB / 0.4994 GB, free: 5.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.008499, allocations: 15.8 kB / 0.4994 GB, free: 5.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.00915, allocations: 99.19 kB / 0.4995 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.009485, allocations: 135.7 kB / 0.4996 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.009713, allocations: 35.91 kB / 0.4997 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.00986, allocations: 55.84 kB / 0.4997 GB, free: 4.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.009992, allocations: 43.77 kB / 0.4998 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.01003, allocations: 8 kB / 0.4998 GB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.01006, allocations: 8 kB / 0.4998 GB, free: 4.73 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000269/0.01033, allocations: 174.2 kB / 0.5 GB, free: 4.559 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001338/0.01046, allocations: 114.4 kB / 0.5001 GB, free: 4.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.0105, allocations: 4 kB / 0.5001 GB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.943e-05/0.01055, allocations: 7.938 kB / 0.5001 GB, free: 4.434 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: 15 (15) * Number of variables: 15 (15) Notification: Performance of [SIM] Bindings: time 0.001628/0.01218, allocations: 0.52 MB / 0.5006 GB, free: 3.793 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000135/0.01231, allocations: 55.86 kB / 0.5006 GB, free: 3.727 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004406/0.01275, allocations: 208.2 kB / 0.5008 GB, free: 3.496 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002657/0.01302, allocations: 101.9 kB / 0.5009 GB, free: 3.348 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.001398/0.01441, allocations: 393.9 kB / 0.5013 GB, free: 2.867 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001717/0.01459, allocations: 84.91 kB / 0.5014 GB, free: 2.738 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001185/0.01471, allocations: 44.42 kB / 0.5014 GB, free: 2.668 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003959/0.0151, allocations: 127.3 kB / 0.5015 GB, free: 2.492 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001984/0.0153, allocations: 38.2 kB / 0.5016 GB, free: 2.457 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002455/0.01554, allocations: 72.08 kB / 0.5017 GB, free: 2.379 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0004513/0.016, allocations: 148 kB / 0.5018 GB, free: 2.227 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002956/0.01629, allocations: 175.7 kB / 0.502 GB, free: 2.055 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0006295/0.01692, allocations: 235 kB / 0.5022 GB, free: 1.758 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0004069/0.01733, allocations: 237.1 kB / 0.5024 GB, free: 1.523 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 3.702e-05/0.01737, allocations: 12.12 kB / 0.5024 GB, free: 1.504 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 6.97e-05/0.01743, allocations: 39.97 kB / 0.5025 GB, free: 1.465 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0007235/0.01816, allocations: 284.3 kB / 0.5027 GB, free: 1.18 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 2.76e-05/0.01819, allocations: 12 kB / 0.5027 GB, free: 1.168 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 7.31e-07/0.01819, allocations: 0 / 0.5027 GB, free: 1.168 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.067e-05/0.0182, allocations: 3.938 kB / 0.5027 GB, free: 1.164 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.427e-06/0.01821, allocations: 12 kB / 0.5028 GB, free: 1.152 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 9.087e-06/0.01822, allocations: 0 / 0.5028 GB, free: 1.152 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0002834/0.0185, allocations: 91.95 kB / 0.5028 GB, free: 1.062 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003336/0.01883, allocations: 214 kB / 0.5031 GB, free: 0.8164 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: ............... 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: ............................. 1 (1) {integrator.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {switch.u2, change.u, change.y, $SEV_2, $SEV_1, $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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 20 (scalar:20, 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 7.941e-05/0.01891, allocations: 25.5 kB / 0.5031 GB, free: 0.793 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008405/0.01975, allocations: 358.8 kB / 0.5034 GB, free: 432 kB / 366.1 MB Notification: Performance of Templates: time 0.006077/0.02583, allocations: 0.9285 MB / 0.5043 GB, free: 15.49 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.1427294802851975]