Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007905/0.0007905, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2587/0.2587, allocations: 38.04 MB / 308.4 MB, free: 10.38 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.1. 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.0005411/0.0005412, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08686, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.001965/0.08886, allocations: 1.545 MB / 435.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.09019, allocations: 0.8862 MB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.09032, allocations: 4 kB / 436.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.09085, allocations: 171.6 kB / 436.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.09114, allocations: 115.6 kB / 436.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.09156, allocations: 135.8 kB / 436.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.09183, allocations: 231.3 kB / 437 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.09194, allocations: 41.62 kB / 437.1 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.0921, allocations: 95.61 kB / 437.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.09225, allocations: 115.6 kB / 437.3 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.09229, allocations: 4 kB / 437.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.09241, allocations: 47.97 kB / 437.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.09249, allocations: 51.83 kB / 437.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.09256, allocations: 69.56 kB / 437.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.09277, allocations: 199.8 kB / 437.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.09279, allocations: 0 / 437.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.09279, allocations: 0 / 437.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.0928, allocations: 0 / 437.6 MB, free: 1.828 MB / 366.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.0006921/0.0935, allocations: 0.626 MB / 438.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.09353, allocations: 8.031 kB / 438.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.0936, allocations: 31.67 kB / 438.3 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.0939, allocations: 269.6 kB / 438.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.09398, allocations: 93.11 kB / 438.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.09401, allocations: 16 kB / 438.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.0943, allocations: 157.5 kB / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.09432, allocations: 0 / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.09434, allocations: 11.98 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.09435, allocations: 3.953 kB / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.09456, allocations: 95.88 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.09525, allocations: 0.6025 MB / 439.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.09556, allocations: 183.9 kB / 439.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.09573, allocations: 102.5 kB / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.09576, allocations: 0 / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.09613, allocations: 437.1 kB / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.705e-06/0.09615, allocations: 0 / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.000722/0.09688, allocations: 438.3 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.09698, allocations: 225.5 kB / 440.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.09727, allocations: 312.9 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.0973, allocations: 37.7 kB / 441.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.09738, allocations: 132.7 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.09744, allocations: 55.34 kB / 441.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.09745, allocations: 4 kB / 441.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.09756, allocations: 338.8 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.09769, allocations: 56.16 kB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.09787, allocations: 154.5 kB / 442 MB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.09806, allocations: 149.1 kB / 442.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.09807, allocations: 4 kB / 442.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004696/0.09855, allocations: 347.1 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.09862, allocations: 105.1 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.09863, allocations: 4 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.09864, allocations: 4 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.09873, allocations: 16 kB / 442.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.09875, allocations: 7.938 kB / 442.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.09888, allocations: 31.83 kB / 442.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.09891, allocations: 12 kB / 442.6 MB, free: 12.32 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,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.0991, allocations: 274.4 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.09916, allocations: 35.86 kB / 442.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.09921, allocations: 25.69 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.09922, allocations: 4 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.09923, allocations: 0 / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.09924, allocations: 0 / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.09947, allocations: 301.3 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09948, allocations: 0 / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.09952, allocations: 4 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.09953, allocations: 8 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.09955, allocations: 11.94 kB / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.09956, allocations: 4 kB / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.09957, allocations: 0 / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.1001, allocations: 443.5 kB / 443.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.1002, allocations: 104.8 kB / 443.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.1003, allocations: 12 kB / 443.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1004, allocations: 23.94 kB / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1004, allocations: 19.97 kB / 443.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1005, allocations: 12 kB / 443.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1007, allocations: 232.4 kB / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1007, allocations: 4 kB / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.101, allocations: 63.94 kB / 444.2 MB, free: 10.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008125/0.1018, allocations: 427 kB / 444.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.1023, allocations: 402.2 kB / 445 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1023, allocations: 0 / 445 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.1026, allocations: 346.1 kB / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1029, allocations: 48.42 kB / 445.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.1036, allocations: 488.7 kB / 445.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1038, allocations: 0.7443 MB / 446.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.1039, allocations: 33.84 kB / 446.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.104, allocations: 15.44 kB / 446.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.104, allocations: 4 kB / 446.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of Templates: time 0.005625/0.1096, allocations: 3.066 MB / 449.7 MB, free: 4.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe 2>&1) Environment - environmentSimulation: