Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 111.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002095, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2381, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002669/0.2408, allocations: 1.441 MB / 411.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.2411, allocations: 95.69 kB / 411.5 MB, free: 32 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.2411, allocations: 0 / 411.5 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2412, allocations: 3.938 kB / 411.5 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.2412, allocations: 11.92 kB / 411.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2415, allocations: 20.06 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.2416, allocations: 23.92 kB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.2417, allocations: 11.91 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.2417, allocations: 19.86 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.2417, allocations: 11.94 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2418, allocations: 0 / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.2418, allocations: 4 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.2418, allocations: 3.938 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.2418, allocations: 19.92 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.663e-05/0.2419, allocations: 27.89 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2419, allocations: 3.938 kB / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2419, allocations: 0 / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.242, allocations: 0 / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004207/0.2424, allocations: 339.3 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2424, allocations: 8.031 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.2425, allocations: 8.891 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2427, allocations: 176.3 kB / 412.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2427, allocations: 12.38 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2427, allocations: 384 / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.2431, allocations: 103.9 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2431, allocations: 192 / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2432, allocations: 3.938 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2432, allocations: 4 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2433, allocations: 23.92 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.2435, allocations: 161.6 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.2436, allocations: 58.52 kB / 412.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.2437, allocations: 20.89 kB / 412.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2437, allocations: 4 kB / 412.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2438, allocations: 38.56 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2438, allocations: 0 / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002155/0.244, allocations: 69.55 kB / 412.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.244, allocations: 59.39 kB / 412.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.2441, allocations: 105.9 kB / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2441, allocations: 25.7 kB / 412.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2442, allocations: 88.12 kB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.2442, allocations: 8 kB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.2442, allocations: 13.72 kB / 412.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.2443, allocations: 314.8 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.2443, allocations: 3.984 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.2444, allocations: 27.44 kB / 413.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.2444, allocations: 35.38 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2444, allocations: 0 / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.358e-05/0.2445, allocations: 57.58 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2445, allocations: 8 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2445, allocations: 3.938 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2445, allocations: 12 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.2446, allocations: 12 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2446, allocations: 256 / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.2446, allocations: 0 / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2447, allocations: 8 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 6.445e-05/0.2447, allocations: 113.8 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.2447, allocations: 0 / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.2448, allocations: 11.84 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2448, allocations: 0 / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2448, allocations: 8 kB / 413.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.2448, allocations: 81.06 kB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2448, allocations: 0 / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.2449, allocations: 7.984 kB / 413.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-06/0.2449, allocations: 0 / 413.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001393/0.245, allocations: 140.9 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001619/0.2452, allocations: 234.8 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.169e-05/0.2453, allocations: 16.31 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.2453, allocations: 87.27 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.2453, allocations: 4 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.2456, allocations: 86.33 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003464/0.246, allocations: 0.5493 MB / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of Templates: time 0.002031/0.248, allocations: 308.9 kB / 415 MB, free: 12.1 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)