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.000662/0.000662, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003188/0.003188, allocations: 158.8 kB / 24.7 MB, free: 9.441 MB / 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.8867/0.8867, allocations: 177 MB / 204.9 MB, free: 5.754 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.261/0.261, allocations: 34.25 MB / 295.6 MB, free: 0.6836 MB / 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 2.284e-06/2.284e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.576e-05, allocations: 2.281 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.1965/0.1966, allocations: 1.867 MB / 445.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1976, allocations: 1.127 MB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1978, allocations: 2.938 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.1983, allocations: 194.5 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1985, allocations: 179.7 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1988, allocations: 165.4 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.199, allocations: 277 kB / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.1991, allocations: 25.86 kB / 447.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1993, allocations: 155.8 kB / 447.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1994, allocations: 103.2 kB / 447.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1994, allocations: 21.03 kB / 447.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1995, allocations: 69.19 kB / 447.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.1995, allocations: 63.55 kB / 447.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.1996, allocations: 73.98 kB / 447.7 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1999, allocations: 307.6 kB / 448 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1999, allocations: 0 / 448 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1999, allocations: 0 / 448 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1999, allocations: 0 / 448 MB, free: 42.55 MB / 410.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.0006/0.2005, allocations: 0.5952 MB / 448.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2005, allocations: 9.656 kB / 448.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.2006, allocations: 33.38 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2008, allocations: 218.8 kB / 448.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.2008, allocations: 168.5 kB / 449 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2009, allocations: 19.31 kB / 449 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.2011, allocations: 245.9 kB / 449.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2011, allocations: 0 / 449.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2011, allocations: 10.36 kB / 449.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2011, allocations: 2.875 kB / 449.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.2012, allocations: 177.5 kB / 449.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.2017, allocations: 0.5252 MB / 450 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.2018, allocations: 243.7 kB / 450.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.2019, allocations: 164.9 kB / 450.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.202, allocations: 0 / 450.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.2022, allocations: 0.5092 MB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.2022, allocations: 0 / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004672/0.2026, allocations: 0.6214 MB / 451.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2027, allocations: 193.1 kB / 451.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2029, allocations: 332.3 kB / 452 MB, free: 39.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2029, allocations: 32.45 kB / 452.1 MB, free: 39.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.203, allocations: 134.3 kB / 452.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.203, allocations: 58.19 kB / 452.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.203, allocations: 48.62 kB / 452.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.2031, allocations: 347 kB / 452.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.2032, allocations: 148.6 kB / 452.8 MB, free: 38.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2033, allocations: 257.8 kB / 453 MB, free: 38.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2035, allocations: 366.5 kB / 453.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2035, allocations: 0 / 453.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002737/0.2037, allocations: 440.9 kB / 453.8 MB, free: 37.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.2038, allocations: 98.86 kB / 453.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2038, allocations: 2.906 kB / 453.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2038, allocations: 10.22 kB / 453.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.2039, allocations: 17.34 kB / 454 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2039, allocations: 2.906 kB / 454 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.2039, allocations: 37.31 kB / 454 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.204, allocations: 12.5 kB / 454 MB, free: 37.52 MB / 410.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.0001158/0.2041, allocations: 256.7 kB / 454.3 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2041, allocations: 36.17 kB / 454.3 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.2043, allocations: 246.2 kB / 454.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2043, allocations: 2.969 kB / 454.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2043, allocations: 96 / 454.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2043, allocations: 11.06 kB / 454.5 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2044, allocations: 211.5 kB / 454.7 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2044, allocations: 3.234 kB / 454.8 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.2045, allocations: 5.938 kB / 454.8 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2045, allocations: 2.938 kB / 454.8 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2045, allocations: 9.844 kB / 454.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2045, allocations: 2.875 kB / 454.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2045, allocations: 3.938 kB / 454.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.2048, allocations: 0.536 MB / 455.3 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.2049, allocations: 27.92 kB / 455.3 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.2049, allocations: 12.66 kB / 455.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.2049, allocations: 18.5 kB / 455.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.205, allocations: 19.34 kB / 455.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.205, allocations: 16.72 kB / 455.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2051, allocations: 251.5 kB / 455.7 MB, free: 36.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2051, allocations: 0 / 455.7 MB, free: 36.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.2053, allocations: 66.48 kB / 455.7 MB, free: 36.4 MB / 410.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.0007037/0.206, allocations: 453.3 kB / 456.2 MB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2064, allocations: 0.5372 MB / 456.7 MB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2064, allocations: 0 / 456.7 MB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.2065, allocations: 360.5 kB / 457 MB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2068, allocations: 57.98 kB / 457.1 MB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.2073, allocations: 0.5784 MB / 457.7 MB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.2074, allocations: 149.5 kB / 457.8 MB, free: 34.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.2074, allocations: 20.19 kB / 457.8 MB, free: 34.95 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2074, allocations: 3.062 kB / 457.9 MB, free: 34.95 MB / 410.7 MB Notification: Performance of Templates: time 0.003471/0.2109, allocations: 3.675 MB / 461.5 MB, free: 34.49 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0250233337283134]