Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.00192, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002743/0.2744, allocations: 1.487 MB / 411.4 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003942/0.2748, allocations: 135.5 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.2749, allocations: 0 / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.275, allocations: 3.938 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.2752, allocations: 7.938 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2754, allocations: 39.88 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.2755, allocations: 27.92 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2757, allocations: 12 kB / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.2757, allocations: 15.92 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.2757, allocations: 15.86 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.2758, allocations: 4 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2758, allocations: 0 / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.2759, allocations: 11.94 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.2759, allocations: 23.8 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.276, allocations: 43.77 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.276, allocations: 0 / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.276, allocations: 0 / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2761, allocations: 3.938 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004775/0.2765, allocations: 363.2 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2766, allocations: 8.031 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.2766, allocations: 8.891 kB / 412.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.2769, allocations: 184.2 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2769, allocations: 4.375 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.277, allocations: 8.375 kB / 412.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.2772, allocations: 89.61 kB / 412.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2772, allocations: 192 / 412.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2772, allocations: 3.938 kB / 412.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2772, allocations: 0 / 412.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.2773, allocations: 15.94 kB / 412.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.2776, allocations: 257.8 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.2777, allocations: 45.09 kB / 412.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.2777, allocations: 13.78 kB / 412.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2777, allocations: 3.984 kB / 412.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2778, allocations: 42.56 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2778, allocations: 0 / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.278, allocations: 57.58 kB / 412.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.278, allocations: 77.11 kB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2781, allocations: 129.8 kB / 413 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2781, allocations: 25.7 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2782, allocations: 84.14 kB / 413.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.2782, allocations: 4.203 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.2782, allocations: 21.72 kB / 413.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.2783, allocations: 314.8 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.2784, allocations: 11.94 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.2784, allocations: 13.72 kB / 413.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.2785, allocations: 33.7 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2785, allocations: 0 / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.82e-05/0.2786, allocations: 49.56 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2786, allocations: 6.969 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2786, allocations: 0 / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2786, allocations: 7.938 kB / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.534e-05/0.2786, allocations: 0 / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2787, allocations: 0 / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.2787, allocations: 4 kB / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.2787, allocations: 8.062 kB / 413.6 MB, free: 13.62 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: 2 (sample1.y,sample1.u) * 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 7.204e-05/0.2788, allocations: 113.8 kB / 413.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.2788, allocations: 11.89 kB / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.2789, allocations: 11.48 kB / 413.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2789, allocations: 0 / 413.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2789, allocations: 4 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2789, allocations: 89.05 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.2789, allocations: 4 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.279, allocations: 0 / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.279, allocations: 11.98 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001405/0.2792, allocations: 208.1 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001664/0.2794, allocations: 294 kB / 414.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.618e-05/0.2794, allocations: 12.09 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.2795, allocations: 110.8 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.2795, allocations: 0 / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.2799, allocations: 82.41 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004527/0.2804, allocations: 0.5844 MB / 415.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of Templates: time 0.002579/0.283, allocations: 474.5 kB / 415.6 MB, free: 11.53 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1)