Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 112.1 kB / 18.46 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.001404/0.001405, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2629, allocations: 50.54 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002528/0.2655, allocations: 1.515 MB / 411.4 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.2659, allocations: 135.5 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.266, allocations: 4 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.49e-05/0.266, allocations: 3.938 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.2662, allocations: 11.91 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2664, allocations: 31.92 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.2665, allocations: 39.91 kB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2666, allocations: 19.97 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.2666, allocations: 11.94 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.2667, allocations: 19.86 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2667, allocations: 0 / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.2667, allocations: 4 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.2668, allocations: 11.92 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.2668, allocations: 19.88 kB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2669, allocations: 59.69 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2669, allocations: 0 / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2669, allocations: 0 / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.267, allocations: 0 / 411.8 MB, free: 15.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000433/0.2674, allocations: 363.1 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2674, allocations: 12.03 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2675, allocations: 4.844 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2677, allocations: 193.5 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2677, allocations: 4.375 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2678, allocations: 4.375 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.268, allocations: 117.5 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2681, allocations: 192 / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2681, allocations: 11.94 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2681, allocations: 4 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.2682, allocations: 15.98 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.2685, allocations: 265.6 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2687, allocations: 142.2 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.2688, allocations: 29.77 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.2688, allocations: 0 / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2688, allocations: 38.5 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.2688, allocations: 0 / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002321/0.2691, allocations: 73.7 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2691, allocations: 81.14 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2692, allocations: 144.5 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2692, allocations: 25.7 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.2693, allocations: 88.14 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.2693, allocations: 0 / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.2694, allocations: 17.72 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2695, allocations: 322.8 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.2695, allocations: 8 kB / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/0.2696, allocations: 35.42 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.2697, allocations: 51.36 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2697, allocations: 4 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.2698, allocations: 69.45 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2698, allocations: 8 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2698, allocations: 0 / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2698, allocations: 4 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.2699, allocations: 7.938 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2699, allocations: 4 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.27, allocations: 8.109 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.27, allocations: 4 kB / 413.9 MB, free: 13.34 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: 4 (sample1.y,assignClock.y,assignClock.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 7.366e-05/0.2701, allocations: 117.8 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2701, allocations: 11.84 kB / 414.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.2701, allocations: 16.23 kB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2701, allocations: 0 / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2701, allocations: 0 / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.2702, allocations: 93.31 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2702, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.2703, allocations: 4 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.2703, allocations: 3.984 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001698/0.2705, allocations: 220.1 kB / 414.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001884/0.2707, allocations: 318 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.49e-05/0.2708, allocations: 15.98 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.2708, allocations: 107.2 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.2708, allocations: 0 / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.2713, allocations: 97.28 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005054/0.2718, allocations: 0.5963 MB / 415.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Templates: time 0.002654/0.2744, allocations: 0.5146 MB / 416 MB, free: 11.12 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1)