Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.001521/0.001521, 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.00154/0.00154, allocations: 209.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.561/1.561, 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.2637/0.2637, allocations: 46.96 MB / 361.6 MB, free: 4.141 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.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.247e-05, allocations: 4.812 kB / 0.4973 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003446/0.003478, allocations: 1.682 MB / 0.4989 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005821/0.00406, allocations: 159.6 kB / 0.4991 GB, free: 5.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.004177, allocations: 11.94 kB / 0.4991 GB, free: 5.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.004222, allocations: 11.81 kB / 0.4991 GB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.004308, allocations: 7.875 kB / 0.4991 GB, free: 5.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.004817, allocations: 106.3 kB / 0.4992 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.005083, allocations: 171.7 kB / 0.4994 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.00529, allocations: 25.58 kB / 0.4994 GB, free: 5.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.005447, allocations: 79.81 kB / 0.4995 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.005526, allocations: 35.84 kB / 0.4995 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.00556, allocations: 8 kB / 0.4995 GB, free: 5.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.00558, allocations: 8 kB / 0.4995 GB, free: 4.996 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000224/0.005804, allocations: 186 kB / 0.4997 GB, free: 4.812 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 9.217e-05/0.005897, allocations: 118.3 kB / 0.4998 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.005922, allocations: 8 kB / 0.4998 GB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.281e-05/0.005944, allocations: 0 / 0.4998 GB, free: 4.688 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: 17 (17) * Number of variables: 17 (17) Notification: Performance of [SIM] Bindings: time 0.0008671/0.006812, allocations: 0.5584 MB / 0.5004 GB, free: 4.004 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001091/0.006921, allocations: 79.77 kB / 0.5004 GB, free: 3.914 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002967/0.007217, allocations: 256.1 kB / 0.5007 GB, free: 3.637 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002252/0.007442, allocations: 105.9 kB / 0.5008 GB, free: 3.488 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0008443/0.008287, allocations: 417 kB / 0.5012 GB, free: 2.984 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001169/0.008404, allocations: 88.7 kB / 0.5013 GB, free: 2.852 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 8.818e-05/0.008492, allocations: 53.53 kB / 0.5013 GB, free: 2.773 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001513/0.008643, allocations: 120.8 kB / 0.5014 GB, free: 2.602 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001492/0.008792, allocations: 73.06 kB / 0.5015 GB, free: 2.531 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002035/0.008996, allocations: 136.2 kB / 0.5016 GB, free: 2.375 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0003538/0.00935, allocations: 218.8 kB / 0.5018 GB, free: 2.141 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002272/0.009577, allocations: 247.6 kB / 0.5021 GB, free: 1.898 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002634/0.00984, allocations: 182.5 kB / 0.5022 GB, free: 1.648 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0002814/0.01012, allocations: 299.8 kB / 0.5025 GB, free: 1.352 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.533e-05/0.01015, allocations: 20.11 kB / 0.5026 GB, free: 1.324 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 4.803e-05/0.0102, allocations: 43.97 kB / 0.5026 GB, free: 1.281 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0003534/0.01055, allocations: 232.1 kB / 0.5028 GB, free: 1.051 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.635e-05/0.01056, allocations: 8 kB / 0.5028 GB, free: 1.043 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.01057, allocations: 3.938 kB / 0.5028 GB, free: 1.039 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.238e-06/0.01057, allocations: 0 / 0.5028 GB, free: 1.039 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.396e-06/0.01058, allocations: 12 kB / 0.5028 GB, free: 1.027 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 9.398e-06/0.01059, allocations: 4 kB / 0.5028 GB, free: 1.023 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0001908/0.01078, allocations: 115.9 kB / 0.503 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.446e-06/0.01079, allocations: 0 / 0.503 GB, free: 0.9102 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: ......... 3 * 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: ................. 12 (12) {greaterThreshold.y, greaterEqualThreshold.y, lessThreshold.y, lessEqualThreshold.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 16 (scalar:16, 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: ........... 16 (scalar:16, 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.0001265/0.01091, allocations: 36.72 kB / 0.503 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005988/0.01151, allocations: 359.7 kB / 0.5033 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of Templates: time 0.004772/0.01628, allocations: 1.353 MB / 0.5047 GB, free: 15.16 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,ramp.y,greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y Variables in the result:gain.k,greaterEqualThreshold.threshold,greaterEqualThreshold.y,greaterThreshold.threshold,greaterThreshold.y,lessEqualThreshold.threshold,lessEqualThreshold.y,lessThreshold.threshold,lessThreshold.y,limiterMaxZero.homotopyType,limiterMaxZero.simplifiedExpr,limiterMaxZero.strict,limiterMaxZero.uMax,limiterMaxZero.uMin,limiterMinZero.homotopyType,limiterMinZero.simplifiedExpr,limiterMinZero.strict,limiterMinZero.u,limiterMinZero.uMax,limiterMinZero.uMin,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time [Calling sys.exit(0), Time elapsed: 5.137340804096311]