Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007483/0.0007483, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001847, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007087/0.0007087, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.001666, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9647/0.9647, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1069/1.072, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2971/0.2971, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0261/0.3232, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.007e-06/4.007e-06, allocations: 4 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.436e-05, allocations: 2.312 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00263/0.002665, allocations: 1.982 MB / 296.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003926, allocations: 1.188 MB / 297.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.003995, allocations: 7.938 kB / 297.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.004352, allocations: 179.3 kB / 297.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.004567, allocations: 183.1 kB / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.004795, allocations: 171.4 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.005011, allocations: 275.2 kB / 298.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.661e-05/0.005087, allocations: 26.39 kB / 298.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.00526, allocations: 199.6 kB / 298.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.00538, allocations: 95.75 kB / 298.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.005404, allocations: 20 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.005513, allocations: 71.83 kB / 298.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.005573, allocations: 55.84 kB / 298.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.005629, allocations: 59.81 kB / 298.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.005831, allocations: 207.3 kB / 298.8 MB, free: 388 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.00584, allocations: 0 / 298.8 MB, free: 388 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005841, allocations: 0 / 298.8 MB, free: 388 kB / 282.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.005848, allocations: 0 / 298.8 MB, free: 388 kB / 282.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.0005043/0.006352, allocations: 0.6084 MB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.419e-05/0.006377, allocations: 8.922 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.006419, allocations: 36.91 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.006594, allocations: 201.5 kB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.006668, allocations: 174.8 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.006686, allocations: 20.38 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.006853, allocations: 227.2 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.006858, allocations: 0 / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.006869, allocations: 12 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.006872, allocations: 4 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.243e-05/0.006955, allocations: 143.8 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.007279, allocations: 414.1 kB / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.007433, allocations: 259.6 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.007502, allocations: 135.7 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.007512, allocations: 3.938 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.007736, allocations: 0.4971 MB / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 9.02e-07/0.007737, allocations: 0 / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002873/0.008024, allocations: 0.4884 MB / 302 MB, free: 12.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.008156, allocations: 439.2 kB / 302.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.008313, allocations: 262.6 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.00833, allocations: 33.7 kB / 302.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.008372, allocations: 109.1 kB / 302.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.008411, allocations: 55.56 kB / 302.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.008456, allocations: 49.67 kB / 302.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.008534, allocations: 350.7 kB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.008592, allocations: 111.9 kB / 303.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.008684, allocations: 221.1 kB / 303.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.008842, allocations: 340.9 kB / 303.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.008843, allocations: 0 / 303.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001921/0.009036, allocations: 347.4 kB / 304.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.009084, allocations: 93.31 kB / 304.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009091, allocations: 11.98 kB / 304.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.009099, allocations: 4 kB / 304.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.009161, allocations: 23.88 kB / 304.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.009166, allocations: 7.984 kB / 304.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.00923, allocations: 23.89 kB / 304.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.00924, allocations: 8 kB / 304.4 MB, free: 9.977 MB / 298.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.0001092/0.009349, allocations: 240.2 kB / 304.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.009382, allocations: 39.91 kB / 304.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.009507, allocations: 175.7 kB / 304.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009511, allocations: 4 kB / 304.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.009512, allocations: 0 / 304.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.009515, allocations: 0 / 304.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.009625, allocations: 141.7 kB / 305 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009626, allocations: 0 / 305 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.009647, allocations: 8 kB / 305 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.009668, allocations: 31.73 kB / 305 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.009669, allocations: 0 / 305 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.009683, allocations: 15.98 kB / 305.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009685, allocations: 8 kB / 305.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009687, allocations: 3.984 kB / 305.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.009909, allocations: 430.4 kB / 305.5 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.009936, allocations: 12 kB / 305.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.009984, allocations: 15.98 kB / 305.5 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.01003, allocations: 27.91 kB / 305.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.01004, allocations: 8 kB / 305.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.01012, allocations: 93.61 kB / 305.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01012, allocations: 0 / 305.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.01028, allocations: 63.98 kB / 305.7 MB, free: 8.555 MB / 298.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.001185/0.01147, allocations: 0.5787 MB / 306.3 MB, free: 8.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.01174, allocations: 497.2 kB / 306.8 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01175, allocations: 7.984 kB / 306.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.0119, allocations: 353.1 kB / 307.1 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.01213, allocations: 277.8 kB / 307.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.01271, allocations: 0.5102 MB / 307.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01275, allocations: 87.97 kB / 308 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.587e-05/0.0128, allocations: 18.19 kB / 308 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.01293, allocations: 135.2 kB / 308.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01293, allocations: 4 kB / 308.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of Templates: time 0.004818/0.01775, allocations: 3.919 MB / 312.1 MB, free: 2.293 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8275144258514047]