Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001464/0.001465, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009606/0.0009606, allocations: 51.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2755, allocations: 49.43 MB / 401.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002786/0.2784, allocations: 1.493 MB / 402.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003914/0.2788, allocations: 143.5 kB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.2789, allocations: 0 / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.2789, allocations: 3.938 kB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2791, allocations: 11.92 kB / 403 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2793, allocations: 35.91 kB / 403.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.134e-05/0.2794, allocations: 27.92 kB / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2795, allocations: 11.98 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.2796, allocations: 11.92 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.2796, allocations: 11.94 kB / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2796, allocations: 0 / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.2796, allocations: 4 kB / 403.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.2797, allocations: 15.92 kB / 403.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2797, allocations: 15.88 kB / 403.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.2798, allocations: 51.75 kB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2799, allocations: 0 / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2799, allocations: 0 / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2799, allocations: 0 / 403.2 MB, free: 7.078 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004642/0.2804, allocations: 356.4 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2804, allocations: 12.03 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.2804, allocations: 4.844 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2807, allocations: 188.2 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2807, allocations: 8.375 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2807, allocations: 4.375 kB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.281, allocations: 81.61 kB / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.281, allocations: 4.188 kB / 403.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.281, allocations: 7.922 kB / 403.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.281, allocations: 0 / 403.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.2811, allocations: 23.92 kB / 403.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.2814, allocations: 253.7 kB / 404.2 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.2815, allocations: 45.09 kB / 404.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.2815, allocations: 17.77 kB / 404.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2816, allocations: 4 kB / 404.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.2816, allocations: 34.56 kB / 404.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2816, allocations: 0 / 404.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002049/0.2818, allocations: 53.62 kB / 404.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2819, allocations: 81.11 kB / 404.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.282, allocations: 133.5 kB / 404.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.282, allocations: 29.7 kB / 404.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.2821, allocations: 87.98 kB / 404.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.2821, allocations: 3.984 kB / 404.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.2821, allocations: 17.72 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2823, allocations: 314.8 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.2823, allocations: 8 kB / 405 MB, free: 5.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.2823, allocations: 17.7 kB / 405 MB, free: 5.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.2824, allocations: 25.72 kB / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2824, allocations: 0 / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.009e-05/0.2825, allocations: 61.41 kB / 405.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2825, allocations: 4 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2825, allocations: 0 / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2826, allocations: 0 / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.52e-05/0.2826, allocations: 8.062 kB / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2826, allocations: 4 kB / 405.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.2826, allocations: 3.984 kB / 405.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2826, allocations: 4 kB / 405.1 MB, free: 4.953 MB / 318.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 8.35e-05/0.2827, allocations: 113.8 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2827, allocations: 3.938 kB / 405.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.2828, allocations: 11.53 kB / 405.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2828, allocations: 3.984 kB / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2828, allocations: 0 / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.2829, allocations: 89.02 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2829, allocations: 7.984 kB / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.283, allocations: 4 kB / 405.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.283, allocations: 0 / 405.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001469/0.2832, allocations: 208.1 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001861/0.2834, allocations: 302 kB / 405.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.751e-05/0.2834, allocations: 11.98 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.256e-05/0.2835, allocations: 103.3 kB / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of Backend: time 4.71e-07/0.2835, allocations: 0 / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.2839, allocations: 86.39 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006257/0.2845, allocations: 0.5884 MB / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Templates: time 0.002927/0.2875, allocations: 458.7 kB / 407.1 MB, free: 2.883 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1)