Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 210.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.48/1.48, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 60.09 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.315, allocations: 50.55 MB / 409.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002802/0.3179, allocations: 1.554 MB / 411.5 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.3189, allocations: 0.5298 MB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.319, allocations: 0 / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.3191, allocations: 7.922 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.3192, allocations: 11.88 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3195, allocations: 51.81 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.3197, allocations: 55.78 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3198, allocations: 20.17 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3199, allocations: 27.92 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.32, allocations: 19.86 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.32, allocations: 4 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.388e-05/0.3201, allocations: 7.984 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.3201, allocations: 11.94 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.3202, allocations: 31.8 kB / 412.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3203, allocations: 55.75 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3203, allocations: 0 / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3203, allocations: 0 / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3203, allocations: 7.938 kB / 412.3 MB, free: 15.25 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.0005005/0.3208, allocations: 372.3 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3209, allocations: 12.03 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3211, allocations: 16.83 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3214, allocations: 204.1 kB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3214, allocations: 4.375 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3214, allocations: 4.375 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3217, allocations: 113.1 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3217, allocations: 0 / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3217, allocations: 7.938 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3217, allocations: 3.938 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.3218, allocations: 23.92 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.3221, allocations: 261.7 kB / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.3222, allocations: 49.16 kB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.3223, allocations: 25.77 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3223, allocations: 0 / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3223, allocations: 34.56 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3223, allocations: 0 / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.3226, allocations: 65.61 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3226, allocations: 77.36 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3228, allocations: 148.2 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3228, allocations: 29.7 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.3229, allocations: 92.05 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.3229, allocations: 0 / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.3229, allocations: 13.72 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.323, allocations: 322.8 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.46e-05/0.3231, allocations: 4 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.3231, allocations: 29.64 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.3232, allocations: 33.64 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3232, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001182/0.3233, allocations: 53.53 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3234, allocations: 8 kB / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3234, allocations: 4.125 kB / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3234, allocations: 0 / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.3235, allocations: 11.98 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3235, allocations: 0 / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.3235, allocations: 4 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3235, allocations: 0 / 414.3 MB, free: 13 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.09e-05/0.3236, allocations: 125.6 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.3237, allocations: 11.91 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.3237, allocations: 15.83 kB / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3237, allocations: 0 / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3237, allocations: 0 / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.3238, allocations: 93 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3238, allocations: 4 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.3239, allocations: 3.984 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.3239, allocations: 11.88 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002044/0.3241, allocations: 212.2 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002074/0.3244, allocations: 302 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.278e-05/0.3244, allocations: 15.97 kB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.144e-05/0.3245, allocations: 113.5 kB / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.3245, allocations: 4 kB / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.325, allocations: 90.39 kB / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005304/0.3255, allocations: 0.6089 MB / 415.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Templates: time 0.002915/0.3285, allocations: 0.6223 MB / 416.5 MB, free: 10.68 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1)