Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001981/0.001981, allocations: 110 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002356/0.002356, allocations: 207.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 71.86 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2672, allocations: 50.55 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003405/0.2706, allocations: 1.89 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.2727, allocations: 1.188 MB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.2729, allocations: 11.94 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.2736, allocations: 147.5 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.2741, allocations: 147.4 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.2746, allocations: 179 kB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2749, allocations: 187.5 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2751, allocations: 37.47 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2752, allocations: 79.69 kB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2753, allocations: 67.7 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.2754, allocations: 8 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2755, allocations: 63.89 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.2756, allocations: 39.84 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.2757, allocations: 75.48 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.2761, allocations: 211.1 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2761, allocations: 0 / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2761, allocations: 0 / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2761, allocations: 3.938 kB / 414.2 MB, free: 13.3 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008397/0.277, allocations: 0.5233 MB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.277, allocations: 8.031 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.2771, allocations: 20.8 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.2774, allocations: 279 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2775, allocations: 4.375 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2775, allocations: 12.12 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.2778, allocations: 142.7 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2779, allocations: 4 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2779, allocations: 4 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.2779, allocations: 3.938 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.278, allocations: 27.98 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.2785, allocations: 370.3 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.2787, allocations: 107.9 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.2788, allocations: 42.56 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2789, allocations: 4 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.2791, allocations: 79.33 kB / 415.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.2791, allocations: 0 / 415.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003786/0.2795, allocations: 141.6 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.2795, allocations: 132.5 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.2798, allocations: 273.2 kB / 416.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2799, allocations: 29.7 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.28, allocations: 112.1 kB / 416.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.28, allocations: 19.97 kB / 416.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.2801, allocations: 41.59 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2802, allocations: 330.8 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.2803, allocations: 27.98 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.2804, allocations: 74 kB / 417 MB, free: 10.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2805, allocations: 76.22 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2806, allocations: 0 / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002186/0.2808, allocations: 117.5 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2808, allocations: 4 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2808, allocations: 4 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2808, allocations: 0 / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2809, allocations: 19.98 kB / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.281, allocations: 0 / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.281, allocations: 11.89 kB / 417.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2811, allocations: 11.92 kB / 417.3 MB, free: 9.957 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001323/0.2812, allocations: 145.9 kB / 417.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.2812, allocations: 19.91 kB / 417.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.2813, allocations: 25.7 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2813, allocations: 0 / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2813, allocations: 0 / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.2814, allocations: 108.9 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.2815, allocations: 11.94 kB / 417.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.2815, allocations: 4 kB / 417.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.2816, allocations: 7.984 kB / 417.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003597/0.282, allocations: 339.6 kB / 417.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004531/0.2824, allocations: 453.1 kB / 418.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001155/0.2826, allocations: 35.92 kB / 418.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002739/0.2828, allocations: 204.5 kB / 418.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2829, allocations: 0 / 418.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2844, allocations: 438.5 kB / 419 MB, free: 8.281 MB / 334.1 MB Notification: Performance of SimCode: time 0.000818/0.2852, allocations: 0.7816 MB / 419.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of Templates: time 0.00607/0.2913, allocations: 2.521 MB / 422.3 MB, free: 4.957 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1)