Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001385, allocations: 111 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.00147/0.00147, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2725, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002994/0.2756, allocations: 1.566 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2766, allocations: 0.557 MB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.2767, allocations: 7.938 kB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.2768, allocations: 3.938 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2769, allocations: 7.875 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.2773, allocations: 59.81 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2774, allocations: 55.78 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2775, allocations: 16.17 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2777, allocations: 19.92 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.2777, allocations: 27.86 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2778, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.2778, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.2779, allocations: 19.91 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.2779, allocations: 27.75 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2781, allocations: 63.73 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2781, allocations: 4 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2781, allocations: 0 / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2781, allocations: 0 / 412.4 MB, free: 15.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005388/0.2787, allocations: 372.3 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2787, allocations: 12.03 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.2789, allocations: 16.83 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.2792, allocations: 204.1 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2792, allocations: 4.375 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.2792, allocations: 4.375 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2795, allocations: 101.2 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2795, allocations: 11.92 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2796, allocations: 4 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2796, allocations: 3.984 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.2797, allocations: 15.94 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.28, allocations: 269.6 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.2801, allocations: 49.14 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.2802, allocations: 21.78 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.2802, allocations: 0 / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2803, allocations: 34.55 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2803, allocations: 0 / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002648/0.2805, allocations: 73.66 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2806, allocations: 81.09 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2807, allocations: 140.2 kB / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2807, allocations: 29.7 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.2808, allocations: 92.03 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.2808, allocations: 0 / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2809, allocations: 17.72 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.281, allocations: 319 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.281, allocations: 11.98 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/0.2811, allocations: 13.72 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.714e-05/0.2811, allocations: 33.64 kB / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2812, allocations: 0 / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001267/0.2813, allocations: 65.58 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2813, allocations: 8 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2813, allocations: 0 / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2814, allocations: 0 / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.2814, allocations: 4 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2814, allocations: 0 / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.2815, allocations: 7.984 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.2815, allocations: 4 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.416e-05/0.2816, allocations: 129.7 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2816, allocations: 7.906 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.2817, allocations: 19.81 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2817, allocations: 3.938 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2817, allocations: 0 / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.2818, allocations: 89 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2818, allocations: 4 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.2819, allocations: 0 / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.2819, allocations: 7.938 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001962/0.2821, allocations: 216.1 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002001/0.2823, allocations: 302 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.547e-05/0.2824, allocations: 16.09 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.504e-05/0.2825, allocations: 109.5 kB / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Backend: time 2.7e-07/0.2825, allocations: 0 / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.283, allocations: 94.33 kB / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006111/0.2836, allocations: 0.609 MB / 415.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Templates: time 0.003119/0.2867, allocations: 0.6219 MB / 416.5 MB, free: 10.56 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)