Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005726/0.005726, allocations: 171.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3405/0.3405, allocations: 40 MB / 310.7 MB, free: 9.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007852/0.0007853, allocations: 15.98 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1839, allocations: 57.97 MB / 437.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003631/0.1876, allocations: 1.596 MB / 439 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1902, allocations: 0.9326 MB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.1904, allocations: 0 / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.1915, allocations: 175.6 kB / 440.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1919, allocations: 111.6 kB / 440.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.1926, allocations: 155.8 kB / 440.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.1931, allocations: 263.3 kB / 440.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1933, allocations: 25.67 kB / 440.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.1936, allocations: 99.59 kB / 440.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1939, allocations: 107.6 kB / 440.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.1939, allocations: 8 kB / 440.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1941, allocations: 47.97 kB / 440.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1943, allocations: 67.69 kB / 441 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.1945, allocations: 117.2 kB / 441.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.195, allocations: 267.3 kB / 441.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.195, allocations: 4 kB / 441.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1951, allocations: 0 / 441.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1951, allocations: 0 / 441.4 MB, free: 14.23 MB / 382.1 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.001409/0.1965, allocations: 0.6145 MB / 442 MB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1966, allocations: 8.031 kB / 442 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1967, allocations: 28.66 kB / 442 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.1972, allocations: 278.6 kB / 442.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.1973, allocations: 105 kB / 442.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1974, allocations: 16 kB / 442.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.1979, allocations: 160.6 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1979, allocations: 0 / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.198, allocations: 12 kB / 442.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.198, allocations: 4 kB / 442.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.1983, allocations: 99.86 kB / 442.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1996, allocations: 0.6064 MB / 443.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.2002, allocations: 179.9 kB / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.2005, allocations: 98.53 kB / 443.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.2005, allocations: 4 kB / 443.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.2012, allocations: 437.1 kB / 444 MB, free: 11.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 5.611e-06/0.2012, allocations: 4 kB / 444 MB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001279/0.2025, allocations: 438.3 kB / 444.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.2026, allocations: 217.6 kB / 444.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.2032, allocations: 320.9 kB / 444.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.2032, allocations: 37.7 kB / 445 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.2035, allocations: 136.6 kB / 445.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.2036, allocations: 47.34 kB / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.2036, allocations: 33.7 kB / 445.2 MB, free: 9.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.2039, allocations: 334.8 kB / 445.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2041, allocations: 59.97 kB / 445.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.2046, allocations: 150.2 kB / 445.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.2053, allocations: 358.7 kB / 446.1 MB, free: 8.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2053, allocations: 0 / 446.1 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008198/0.2061, allocations: 358.4 kB / 446.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.2062, allocations: 97.09 kB / 446.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.2063, allocations: 7.984 kB / 446.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.2063, allocations: 0 / 446.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2065, allocations: 20.31 kB / 446.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.2065, allocations: 4.219 kB / 446.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2067, allocations: 35.77 kB / 446.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.2068, allocations: 20 kB / 446.6 MB, free: 8.414 MB / 382.1 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.0003267/0.2071, allocations: 269.4 kB / 446.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.2072, allocations: 31.66 kB / 446.9 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.2073, allocations: 25.7 kB / 446.9 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.2073, allocations: 8 kB / 446.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2073, allocations: 0 / 446.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2073, allocations: 0 / 446.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.2077, allocations: 289.4 kB / 447.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2077, allocations: 0 / 447.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.2078, allocations: 11.94 kB / 447.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2078, allocations: 4 kB / 447.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2078, allocations: 7.984 kB / 447.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2078, allocations: 4 kB / 447.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2078, allocations: 0 / 447.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2088, allocations: 451.4 kB / 447.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.2089, allocations: 104.8 kB / 447.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.209, allocations: 16 kB / 447.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2092, allocations: 19.98 kB / 447.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.2093, allocations: 19.92 kB / 447.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.2093, allocations: 19.98 kB / 447.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004163/0.2098, allocations: 228.5 kB / 448.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2098, allocations: 0 / 448.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00046/0.2102, allocations: 67.92 kB / 448.1 MB, free: 6.73 MB / 382.1 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,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * 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.001284/0.2115, allocations: 434 kB / 448.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.2124, allocations: 397.8 kB / 448.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2124, allocations: 0 / 448.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.213, allocations: 346.1 kB / 449.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.2136, allocations: 56.78 kB / 449.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2149, allocations: 496.6 kB / 449.8 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.2154, allocations: 0.7598 MB / 450.6 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.2156, allocations: 29.83 kB / 450.6 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.2157, allocations: 19.44 kB / 450.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2157, allocations: 0 / 450.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of Templates: time 0.01051/0.2262, allocations: 3.134 MB / 453.8 MB, free: 0.9805 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe 2>&1) Environment - environmentSimulation: