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.001481/0.001481, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2933, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002813/0.2962, allocations: 1.542 MB / 411.5 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.2966, allocations: 143.6 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.2967, allocations: 4 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2968, allocations: 3.938 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.425e-05/0.297, allocations: 7.922 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2972, allocations: 43.84 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2973, allocations: 39.73 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2974, allocations: 16 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.2975, allocations: 23.91 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.2975, allocations: 15.92 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.2975, allocations: 4 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.2976, allocations: 3.938 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.2976, allocations: 12 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.2977, allocations: 31.73 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2978, allocations: 59.75 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2978, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2978, allocations: 4 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2978, allocations: 0 / 411.9 MB, free: 15.68 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.0004716/0.2983, allocations: 380.3 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2983, allocations: 8.031 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.2984, allocations: 8.844 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.2986, allocations: 198.3 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2986, allocations: 4.375 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2986, allocations: 4.375 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.2989, allocations: 130.4 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2989, allocations: 4.125 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.299, allocations: 7.938 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.299, allocations: 4 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2991, allocations: 35.97 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.2996, allocations: 365.8 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2997, allocations: 87.77 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.2998, allocations: 42.56 kB / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2998, allocations: 0 / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2999, allocations: 34.56 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2999, allocations: 4 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003472/0.3002, allocations: 113.4 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.3003, allocations: 106.8 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3004, allocations: 137.8 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3004, allocations: 26.08 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.3005, allocations: 100.1 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.3005, allocations: 3.906 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.3006, allocations: 21.72 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3007, allocations: 314.8 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.3007, allocations: 19.98 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.3008, allocations: 39.42 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.301, allocations: 59.34 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.301, allocations: 0 / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001805/0.3012, allocations: 93.44 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3012, allocations: 6.812 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3012, allocations: 0 / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3012, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.3013, allocations: 15.92 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3013, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.3014, allocations: 7.938 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3014, allocations: 0 / 414.2 MB, free: 13.04 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 8.401e-05/0.3015, allocations: 129.9 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.3015, allocations: 11.91 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3016, allocations: 11.83 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3016, allocations: 7.984 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3016, allocations: 4 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.3017, allocations: 93 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3017, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3018, allocations: 4 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3019, allocations: 11.94 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002642/0.3021, allocations: 323.3 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002809/0.3024, allocations: 409.4 kB / 415.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.551e-05/0.3025, allocations: 23.92 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.3026, allocations: 114 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.3026, allocations: 3.938 kB / 415.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.3031, allocations: 101.8 kB / 415.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005092/0.3037, allocations: 0.6118 MB / 416 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002708/0.3064, allocations: 0.6698 MB / 416.7 MB, free: 10.43 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)