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.00119/0.00119, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.339, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003039/0.3421, allocations: 1.55 MB / 411.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3432, allocations: 0.561 MB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.3433, allocations: 0 / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.3433, allocations: 7.938 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.3435, allocations: 15.84 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3438, allocations: 59.81 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.344, allocations: 51.8 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3441, allocations: 20.16 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3442, allocations: 27.86 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.3443, allocations: 15.88 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3443, allocations: 4 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.3443, allocations: 11.98 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.3444, allocations: 15.92 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.3444, allocations: 27.8 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.3446, allocations: 55.75 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3446, allocations: 4 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3446, allocations: 0 / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3446, allocations: 0 / 412.3 MB, free: 15.18 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.0006449/0.3453, allocations: 384.3 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3453, allocations: 8.031 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.3455, allocations: 20.83 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3458, allocations: 206.3 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.3458, allocations: 4.312 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3458, allocations: 4.375 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3461, allocations: 113.1 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.3461, allocations: 0 / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3461, allocations: 0 / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3461, allocations: 7.938 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.3462, allocations: 15.98 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3466, allocations: 273.6 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.3467, allocations: 41.22 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.3467, allocations: 21.77 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3467, allocations: 0 / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3468, allocations: 42.5 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3468, allocations: 0 / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002497/0.347, allocations: 61.61 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3471, allocations: 85.36 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3472, allocations: 137.8 kB / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3472, allocations: 29.7 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.3473, allocations: 92.05 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.3473, allocations: 0 / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3474, allocations: 13.72 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3475, allocations: 318.8 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.3475, allocations: 8 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.3476, allocations: 25.7 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.3477, allocations: 37.58 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3477, allocations: 0 / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.3478, allocations: 61.67 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3478, allocations: 6.969 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3479, allocations: 0 / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3479, allocations: 4 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.3479, allocations: 7.984 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.348, allocations: 3.938 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.348, allocations: 0 / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.348, allocations: 4 kB / 414.3 MB, free: 12.92 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 8.398e-05/0.3481, allocations: 125.6 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3481, allocations: 15.94 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3482, allocations: 11.83 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3482, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3482, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3483, allocations: 93 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3483, allocations: 0 / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.3484, allocations: 7.984 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.3484, allocations: 7.875 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001824/0.3486, allocations: 220.1 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001927/0.3488, allocations: 302 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.894e-05/0.3488, allocations: 7.984 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.499e-05/0.3489, allocations: 122.1 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.3489, allocations: 3.938 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.3494, allocations: 86.39 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005313/0.3499, allocations: 0.6012 MB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Templates: time 0.003101/0.3531, allocations: 0.618 MB / 416.5 MB, free: 10.62 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)