Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001292, allocations: 107 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 186.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2756, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003724/0.2794, allocations: 1.878 MB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.2815, allocations: 1.044 MB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.2817, allocations: 3.938 kB / 404.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008118/0.2826, allocations: 147.6 kB / 404.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.283, allocations: 111.6 kB / 404.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.2838, allocations: 201.5 kB / 404.8 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.2843, allocations: 187.5 kB / 405 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.2845, allocations: 37.53 kB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.2847, allocations: 75.64 kB / 405.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.2849, allocations: 75.62 kB / 405.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.285, allocations: 8 kB / 405.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2852, allocations: 51.97 kB / 405.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2853, allocations: 39.84 kB / 405.3 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.2855, allocations: 71.55 kB / 405.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.286, allocations: 212.4 kB / 405.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.286, allocations: 0 / 405.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.286, allocations: 4 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.286, allocations: 0 / 405.5 MB, free: 4.77 MB / 318.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.001087/0.2871, allocations: 0.5002 MB / 406 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.2872, allocations: 11.89 kB / 406 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.2873, allocations: 20.66 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.2878, allocations: 266.8 kB / 406.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2878, allocations: 8.359 kB / 406.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.2878, allocations: 16.12 kB / 406.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.2882, allocations: 136.6 kB / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2882, allocations: 0 / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2882, allocations: 4 kB / 406.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2882, allocations: 8 kB / 406.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2884, allocations: 31.92 kB / 406.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.289, allocations: 362.3 kB / 406.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.2892, allocations: 115.9 kB / 407 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.2893, allocations: 42.5 kB / 407 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2893, allocations: 4 kB / 407 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.2895, allocations: 83.28 kB / 407.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.2895, allocations: 0 / 407.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000413/0.29, allocations: 137.3 kB / 407.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.2901, allocations: 136.5 kB / 407.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.2904, allocations: 257 kB / 407.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.2904, allocations: 29.95 kB / 407.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.2905, allocations: 120 kB / 407.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.2906, allocations: 15.89 kB / 407.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.2906, allocations: 33.62 kB / 407.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2908, allocations: 330.8 kB / 408.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.2908, allocations: 20 kB / 408.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2909, allocations: 77.86 kB / 408.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2911, allocations: 76.48 kB / 408.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2911, allocations: 0 / 408.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002287/0.2913, allocations: 121.4 kB / 408.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2914, allocations: 4 kB / 408.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2914, allocations: 4 kB / 408.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2914, allocations: 0 / 408.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2915, allocations: 19.92 kB / 408.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2915, allocations: 0 / 408.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.2916, allocations: 7.938 kB / 408.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2917, allocations: 11.94 kB / 408.5 MB, free: 1.469 MB / 318.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.0001509/0.2918, allocations: 146 kB / 408.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.2919, allocations: 23.7 kB / 408.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2919, allocations: 17.72 kB / 408.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2919, allocations: 4 kB / 408.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.292, allocations: 3.984 kB / 408.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2921, allocations: 104.9 kB / 408.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2921, allocations: 3.938 kB / 408.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.2922, allocations: 7.984 kB / 408.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2922, allocations: 8 kB / 408.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003502/0.2926, allocations: 347.4 kB / 409.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003463/0.293, allocations: 449 kB / 409.6 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.837e-05/0.2931, allocations: 32.17 kB / 409.6 MB, free: 296 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.2932, allocations: 196.5 kB / 409.8 MB, free: 100 kB / 318.1 MB Notification: Performance of Backend: time 3.11e-07/0.2933, allocations: 0 / 409.8 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.2948, allocations: 445.4 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008728/0.2957, allocations: 0.7678 MB / 411 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Templates: time 0.006312/0.302, allocations: 2.493 MB / 413.5 MB, free: 12.54 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1)