Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.0009749/0.0009749, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009704/0.0009704, allocations: 164.4 kB / 24.99 MB, free: 8.297 MB / 18.57 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 0.9925/0.9925, allocations: 177.1 MB / 205.3 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.2916/0.2916, allocations: 34.25 MB / 296 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] 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.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.408e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002589/0.002613, allocations: 1.935 MB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.004096, allocations: 1.153 MB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004227, allocations: 0 / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.004863, allocations: 191.2 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.005215, allocations: 179.2 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.005575, allocations: 163.5 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.005872, allocations: 279.3 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.005977, allocations: 25.73 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.006144, allocations: 155.7 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.006284, allocations: 103.7 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.006313, allocations: 20 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.00645, allocations: 67.89 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.006531, allocations: 67.75 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.006606, allocations: 63.84 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.006912, allocations: 239.1 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.006915, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006917, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006922, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007232/0.007646, allocations: 0.7088 MB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.007679, allocations: 8.031 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.007764, allocations: 48.75 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.008038, allocations: 228.3 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/0.008135, allocations: 166.8 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.008154, allocations: 16.38 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.008407, allocations: 241.2 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.008414, allocations: 0 / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.008428, allocations: 4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.008435, allocations: 4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.008554, allocations: 145 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.009126, allocations: 0.6692 MB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.009354, allocations: 230.5 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.009456, allocations: 152.1 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.009472, allocations: 7.938 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.009777, allocations: 0.5033 MB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.009778, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005059/0.01028, allocations: 0.5831 MB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.01036, allocations: 191.9 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.01058, allocations: 316.3 kB / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.0106, allocations: 41.62 kB / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.0107, allocations: 183.3 kB / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.01074, allocations: 55.58 kB / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.0108, allocations: 55.3 kB / 387.1 MB, free: 9.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.01096, allocations: 0.5196 MB / 387.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.01104, allocations: 125.1 kB / 387.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01118, allocations: 251.3 kB / 388 MB, free: 8.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.01142, allocations: 346.9 kB / 388.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01142, allocations: 0 / 388.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003279/0.01175, allocations: 407.9 kB / 388.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/0.01183, allocations: 97.09 kB / 388.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01183, allocations: 4 kB / 388.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01185, allocations: 4 kB / 388.9 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.01192, allocations: 23.86 kB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01193, allocations: 4 kB / 388.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.01201, allocations: 32.09 kB / 388.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01202, allocations: 15.94 kB / 388.9 MB, free: 7.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.01216, allocations: 280.2 kB / 389.2 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.0122, allocations: 51.75 kB / 389.3 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01243, allocations: 218.8 kB / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01243, allocations: 0 / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01243, allocations: 7.922 kB / 389.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01244, allocations: 8 kB / 389.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.01266, allocations: 208.5 kB / 389.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01266, allocations: 4 kB / 389.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.01269, allocations: 11.94 kB / 389.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01269, allocations: 0 / 389.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01271, allocations: 12 kB / 389.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01271, allocations: 8.141 kB / 389.7 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01271, allocations: 0 / 389.7 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.01309, allocations: 0.5289 MB / 390.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.01311, allocations: 27.84 kB / 390.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.01315, allocations: 12 kB / 390.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.01321, allocations: 15.98 kB / 390.3 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.01327, allocations: 35.84 kB / 390.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.01329, allocations: 8 kB / 390.3 MB, free: 5.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.01341, allocations: 221.1 kB / 390.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01341, allocations: 0 / 390.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.01364, allocations: 71.88 kB / 390.6 MB, free: 5.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008405/0.01448, allocations: 413.4 kB / 391 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004785/0.01496, allocations: 0.4999 MB / 391.5 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01496, allocations: 0 / 391.5 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.01514, allocations: 354.9 kB / 391.9 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.01539, allocations: 72.66 kB / 392 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.01595, allocations: 0.5187 MB / 392.5 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.939e-05/0.016, allocations: 87.97 kB / 392.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.01606, allocations: 17.95 kB / 392.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.0161, allocations: 24.5 kB / 392.6 MB, free: 3.316 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0161, allocations: 4 kB / 392.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of Templates: time 0.005651/0.02175, allocations: 3.666 MB / 396.3 MB, free: 15.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.242195220896974]