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.001265/0.001265, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 210.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.476/1.476, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 50.55 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003062/0.308, allocations: 1.488 MB / 411.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000401/0.3084, allocations: 135.5 kB / 411.5 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.3085, allocations: 0 / 411.5 MB, free: 120 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.218e-05/0.3086, allocations: 11.94 kB / 411.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.3087, allocations: 7.938 kB / 411.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.309, allocations: 39.89 kB / 411.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.3091, allocations: 23.92 kB / 411.6 MB, free: 36 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3092, allocations: 4 kB / 411.6 MB, free: 32 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.3093, allocations: 15.92 kB / 411.7 MB, free: 16 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.3093, allocations: 15.92 kB / 411.7 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.3094, allocations: 4.047 kB / 411.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.3094, allocations: 0 / 411.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.3095, allocations: 15.88 kB / 411.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3095, allocations: 19.88 kB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.3096, allocations: 47.75 kB / 411.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3096, allocations: 0 / 411.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3097, allocations: 0 / 411.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3097, allocations: 0 / 411.8 MB, free: 15.91 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.0004487/0.3101, allocations: 359.1 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3102, allocations: 8.031 kB / 412.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3102, allocations: 8.844 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3104, allocations: 197.5 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3105, allocations: 384 / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3105, allocations: 4.375 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3107, allocations: 89.61 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3107, allocations: 192 / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3107, allocations: 7.938 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3107, allocations: 4 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.3108, allocations: 15.97 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.3111, allocations: 257.8 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.3112, allocations: 37.16 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.3113, allocations: 25.77 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3113, allocations: 3.938 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3113, allocations: 34.56 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3113, allocations: 0 / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002129/0.3115, allocations: 53.62 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3116, allocations: 81.36 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3117, allocations: 137.2 kB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3117, allocations: 25.7 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.3118, allocations: 88.14 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.3118, allocations: 0 / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3119, allocations: 17.7 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.312, allocations: 314.8 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.312, allocations: 4 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.3121, allocations: 21.7 kB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.3121, allocations: 25.66 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3121, allocations: 3.938 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.62e-05/0.3122, allocations: 53.53 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3123, allocations: 4 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3123, allocations: 4.125 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3123, allocations: 4 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.3123, allocations: 3.938 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3123, allocations: 0 / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.3124, allocations: 0 / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.3124, allocations: 7.984 kB / 413.6 MB, free: 13.79 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 9.164e-05/0.3125, allocations: 121.7 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.3125, allocations: 7.938 kB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3125, allocations: 7.484 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3126, allocations: 4 kB / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3126, allocations: 7.984 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.3126, allocations: 89.02 kB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.3127, allocations: 3.984 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.3127, allocations: 0 / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3128, allocations: 4 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001503/0.3129, allocations: 204.1 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001709/0.3131, allocations: 298.1 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.057e-05/0.3131, allocations: 11.92 kB / 414.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.3132, allocations: 107.3 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.3132, allocations: 0 / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.3136, allocations: 86.42 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of SimCode: time 0.000494/0.3141, allocations: 0.584 MB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.002638/0.3168, allocations: 466.8 kB / 415.6 MB, free: 11.7 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)