Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.00143/0.00143, 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.001659/0.001659, allocations: 209.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.604/1.604, 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.243/0.243, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/2.9e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002429/0.002458, allocations: 496.2 kB / 0.4977 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.002946, allocations: 103.7 kB / 0.4978 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.003005, allocations: 0 / 0.4978 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.003022, allocations: 0 / 0.4978 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.003303, allocations: 23.92 kB / 0.4979 GB, free: 6.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.479e-05/0.003328, allocations: 3.984 kB / 0.4979 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.003402, allocations: 15.92 kB / 0.4979 GB, free: 6.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.003458, allocations: 0 / 0.4979 GB, free: 6.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.003481, allocations: 0 / 0.4979 GB, free: 6.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.003521, allocations: 4 kB / 0.4979 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.003538, allocations: 3.938 kB / 0.4979 GB, free: 6.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.003656, allocations: 23.97 kB / 0.4979 GB, free: 6.625 MB / 366.1 MB Notification: Performance of combineBinaries: time 5.379e-05/0.00371, allocations: 19.83 kB / 0.4979 GB, free: 6.605 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.369e-05/0.003724, allocations: 11.81 kB / 0.4979 GB, free: 6.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.147e-05/0.003735, allocations: 7.938 kB / 0.4979 GB, free: 6.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.677e-06/0.003744, allocations: 3.938 kB / 0.4979 GB, free: 6.582 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0005212/0.004265, allocations: 217.3 kB / 0.4982 GB, free: 6.25 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.58e-05/0.004331, allocations: 35.83 kB / 0.4982 GB, free: 6.203 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002399/0.004571, allocations: 108.3 kB / 0.4983 GB, free: 6.07 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001028/0.004673, allocations: 64.73 kB / 0.4984 GB, free: 5.961 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0004339/0.005107, allocations: 136.8 kB / 0.4985 GB, free: 5.77 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001153/0.005223, allocations: 64.73 kB / 0.4985 GB, free: 5.66 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 7.371e-05/0.005296, allocations: 40.36 kB / 0.4986 GB, free: 5.594 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0002232/0.00552, allocations: 84.83 kB / 0.4987 GB, free: 5.457 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001359/0.005655, allocations: 35.91 kB / 0.4987 GB, free: 5.422 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001224/0.005778, allocations: 48.09 kB / 0.4987 GB, free: 5.367 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0007999/0.006578, allocations: 388 kB / 0.4991 GB, free: 4.949 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001754/0.006753, allocations: 123.8 kB / 0.4992 GB, free: 4.828 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002754/0.007028, allocations: 145 kB / 0.4994 GB, free: 4.617 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.000254/0.007283, allocations: 191.8 kB / 0.4996 GB, free: 4.426 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.76e-05/0.0073, allocations: 12.12 kB / 0.4996 GB, free: 4.406 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 4.877e-05/0.007349, allocations: 31.89 kB / 0.4996 GB, free: 4.375 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0002405/0.007589, allocations: 120 kB / 0.4997 GB, free: 4.25 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.708e-05/0.007606, allocations: 4 kB / 0.4997 GB, free: 4.246 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 2.865e-06/0.007609, allocations: 4 kB / 0.4997 GB, free: 4.242 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.387e-06/0.007619, allocations: 7.938 kB / 0.4997 GB, free: 4.234 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.774e-06/0.007621, allocations: 0 / 0.4997 GB, free: 4.234 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.854e-06/0.007628, allocations: 0 / 0.4997 GB, free: 4.234 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0002555/0.007884, allocations: 103.9 kB / 0.4998 GB, free: 4.133 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.526e-06/0.007892, allocations: 0 / 0.4998 GB, free: 4.133 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_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: ........... 6 (scalar:6, 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: ........... 6 (scalar:6, 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 0.0002993/0.008192, allocations: 21.5 kB / 0.4998 GB, free: 4.113 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006111/0.008803, allocations: 196 kB / 0.5 GB, free: 3.898 MB / 366.1 MB Notification: Performance of Templates: time 0.003779/0.01258, allocations: 0.8204 MB / 0.5008 GB, free: 3.082 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,x,yRegStep,yRegStep_der Variables in the result:time,x,x_small,yRegStep,yRegStep_der [Calling sys.exit(0), Time elapsed: 5.28493265574798]