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.001545/0.001545, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001703/0.001703, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9974/0.9974, allocations: 177 MB / 204.8 MB, free: 5.238 MB / 186.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.2902/0.2902, allocations: 34.87 MB / 296.3 MB, free: 444 kB / 266.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 1.303e-06/1.303e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.376e-05, allocations: 2.312 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002448/0.002472, allocations: 1.93 MB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003839, allocations: 1.168 MB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.466e-05/0.003934, allocations: 4 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.004515, allocations: 187.4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.004826, allocations: 183.1 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.005125, allocations: 159.5 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.005393, allocations: 283.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.00549, allocations: 25.75 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.00564, allocations: 155.7 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.005769, allocations: 103.8 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.005796, allocations: 20 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.005919, allocations: 71.88 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.005995, allocations: 63.77 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.00607, allocations: 71.83 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.006344, allocations: 231.1 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006347, allocations: 4 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006348, allocations: 4 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006353, allocations: 0 / 383.4 MB, free: 13.4 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.0006683/0.007021, allocations: 0.6893 MB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.007055, allocations: 12.03 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.007129, allocations: 48.75 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.007399, allocations: 228.3 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/0.007495, allocations: 170.8 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.007518, allocations: 16.38 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.007761, allocations: 230.6 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.007768, allocations: 3.938 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.007784, allocations: 8 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.007792, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.007913, allocations: 149 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.008476, allocations: 0.6614 MB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.008687, allocations: 242.5 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.008787, allocations: 144.1 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.008805, allocations: 7.938 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.009121, allocations: 0.5057 MB / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.392e-06/0.009123, allocations: 0 / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005209/0.009644, allocations: 0.5709 MB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.009715, allocations: 195.9 kB / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.009945, allocations: 316.3 kB / 387.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.009966, allocations: 33.7 kB / 387.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.01006, allocations: 183.3 kB / 387.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.0101, allocations: 55.58 kB / 387.8 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.01017, allocations: 55.36 kB / 387.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.0103, allocations: 0.5195 MB / 388.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.01039, allocations: 117.1 kB / 388.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01051, allocations: 255.3 kB / 388.8 MB, free: 7.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01072, allocations: 350.9 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01072, allocations: 4 kB / 389.1 MB, free: 6.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003148/0.01103, allocations: 408.2 kB / 389.5 MB, free: 6.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.01108, allocations: 93.09 kB / 389.6 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01109, allocations: 4 kB / 389.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01111, allocations: 8 kB / 389.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.01119, allocations: 27.92 kB / 389.6 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.0112, allocations: 4 kB / 389.6 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.01127, allocations: 27.81 kB / 389.7 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01129, allocations: 12.22 kB / 389.7 MB, free: 6.312 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.0001393/0.01143, allocations: 280.4 kB / 390 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.01147, allocations: 55.75 kB / 390 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.01171, allocations: 226.7 kB / 390.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01171, allocations: 4 kB / 390.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01172, allocations: 0 / 390.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01172, allocations: 3.938 kB / 390.2 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.01189, allocations: 216.5 kB / 390.4 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01189, allocations: 0 / 390.4 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.01192, allocations: 11.94 kB / 390.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01192, allocations: 4 kB / 390.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.01194, allocations: 11.98 kB / 390.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01194, allocations: 0 / 390.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01194, allocations: 0 / 390.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.01241, allocations: 0.5367 MB / 391 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.01243, allocations: 23.86 kB / 391 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.01246, allocations: 8 kB / 391 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.01253, allocations: 19.98 kB / 391.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.01259, allocations: 23.91 kB / 391.1 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.01261, allocations: 23.94 kB / 391.1 MB, free: 4.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.01274, allocations: 217.1 kB / 391.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 0 / 391.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.01297, allocations: 71.89 kB / 391.4 MB, free: 4.453 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.0008923/0.01386, allocations: 405.6 kB / 391.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.01424, allocations: 0.5013 MB / 392.3 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01424, allocations: 0 / 392.3 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.01446, allocations: 359.2 kB / 392.6 MB, free: 3.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01471, allocations: 67.11 kB / 392.7 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.01532, allocations: 0.5148 MB / 393.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.01537, allocations: 91.91 kB / 393.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.01542, allocations: 22.09 kB / 393.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.01547, allocations: 24.5 kB / 393.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01547, allocations: 0 / 393.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of Templates: time 0.005929/0.0214, allocations: 3.671 MB / 397 MB, free: 14.76 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.379543748218566]