Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 111.1 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.00221/0.00221, 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.439/1.439, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002546/0.3233, allocations: 1.542 MB / 411.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004047/0.3237, allocations: 139.5 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.3238, allocations: 0 / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.843e-05/0.3239, allocations: 7.922 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.324, allocations: 15.88 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.3242, allocations: 35.89 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3244, allocations: 43.8 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3245, allocations: 27.97 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.3245, allocations: 11.94 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.3246, allocations: 15.92 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3246, allocations: 4 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.3246, allocations: 4 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.3247, allocations: 15.92 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.3247, allocations: 23.75 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3249, allocations: 59.8 kB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3249, allocations: 0 / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3249, allocations: 0 / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3249, allocations: 4 kB / 411.9 MB, free: 15.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005189/0.3254, allocations: 376.3 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.3255, allocations: 16.02 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3255, allocations: 8.844 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3258, allocations: 202.5 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3258, allocations: 384 / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3259, allocations: 8.359 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3262, allocations: 122.5 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3262, allocations: 192 / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3262, allocations: 3.938 kB / 412.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.3262, allocations: 4 kB / 412.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3264, allocations: 39.91 kB / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.3268, allocations: 365.9 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3269, allocations: 87.7 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.327, allocations: 42.56 kB / 413.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3271, allocations: 0 / 413.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3271, allocations: 46.5 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3271, allocations: 4 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003336/0.3274, allocations: 105.5 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3275, allocations: 102.8 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3276, allocations: 145.8 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3276, allocations: 25.7 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.3277, allocations: 88.45 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.3277, allocations: 15.89 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3278, allocations: 21.7 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3279, allocations: 314.8 kB / 414 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.328, allocations: 15.98 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.328, allocations: 43.41 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3282, allocations: 63.34 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3282, allocations: 0 / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001749/0.3284, allocations: 89.45 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3284, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3284, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3284, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.3285, allocations: 11.98 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3285, allocations: 0 / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.3286, allocations: 11.92 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3286, allocations: 8 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.y[2],sample1.y[1],sample1.u[2],sample1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.238e-05/0.3287, allocations: 125.8 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.3287, allocations: 8 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.3288, allocations: 19.8 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3288, allocations: 0 / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.3288, allocations: 0 / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3289, allocations: 93 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3289, allocations: 7.938 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.329, allocations: 4 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.329, allocations: 7.922 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002661/0.3293, allocations: 315.4 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002755/0.3296, allocations: 409.4 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.434e-05/0.3297, allocations: 31.91 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.834e-05/0.3298, allocations: 105.5 kB / 415.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.3298, allocations: 0 / 415.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.3303, allocations: 106.4 kB / 415.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 0.000544/0.3308, allocations: 0.6117 MB / 416 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Templates: time 0.002963/0.3338, allocations: 0.6775 MB / 416.7 MB, free: 10.41 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1)