Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 107 kB / 17.74 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.001276/0.001276, allocations: 190.4 kB / 18.68 MB, free: 4.426 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.531/1.531, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 47.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3595, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003027/0.3625, allocations: 1.523 MB / 402.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000464/0.363, allocations: 155.4 kB / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3632, allocations: 0 / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3633, allocations: 7.922 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.3635, allocations: 11.88 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3637, allocations: 42.64 kB / 403.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3639, allocations: 35.86 kB / 403.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.364, allocations: 19.98 kB / 403.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.3641, allocations: 15.94 kB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.3641, allocations: 15.92 kB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3642, allocations: 4 kB / 403.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.3642, allocations: 4 kB / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.3643, allocations: 19.91 kB / 403.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.3643, allocations: 31.69 kB / 403.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.3645, allocations: 59.59 kB / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3645, allocations: 0 / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3645, allocations: 3.938 kB / 403.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3645, allocations: 0 / 403.4 MB, free: 6.934 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006503/0.3652, allocations: 387 kB / 403.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3652, allocations: 12.03 kB / 403.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3653, allocations: 12.84 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3656, allocations: 192.2 kB / 403.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3656, allocations: 8.375 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3656, allocations: 4.375 kB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.366, allocations: 118.4 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.366, allocations: 4.125 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.366, allocations: 3.938 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.3661, allocations: 12 kB / 404.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3662, allocations: 31.97 kB / 404.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.3667, allocations: 377.8 kB / 404.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3669, allocations: 83.72 kB / 404.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/0.367, allocations: 38.62 kB / 404.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.367, allocations: 3.984 kB / 404.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.367, allocations: 38.56 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.367, allocations: 0 / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003655/0.3674, allocations: 109.5 kB / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3675, allocations: 106.8 kB / 404.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.3677, allocations: 138.2 kB / 405 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3677, allocations: 33.7 kB / 405 MB, free: 4.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.3678, allocations: 92.03 kB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.3678, allocations: 11.98 kB / 405.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.3678, allocations: 21.67 kB / 405.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.368, allocations: 310.8 kB / 405.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.3681, allocations: 19.98 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.3682, allocations: 47.41 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3683, allocations: 55.34 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3683, allocations: 0 / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001718/0.3685, allocations: 85.55 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3685, allocations: 7.938 kB / 405.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3685, allocations: 0 / 405.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3686, allocations: 7.984 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.3687, allocations: 8 kB / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3687, allocations: 0 / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.3687, allocations: 8.109 kB / 405.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3687, allocations: 11.94 kB / 405.7 MB, free: 4.273 MB / 318.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 0.0001343/0.3689, allocations: 125.7 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3689, allocations: 11.91 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.369, allocations: 15.86 kB / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.369, allocations: 0 / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.369, allocations: 0 / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.3691, allocations: 93.05 kB / 405.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.3691, allocations: 4 kB / 405.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3692, allocations: 11.98 kB / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.3693, allocations: 3.938 kB / 406 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003519/0.3696, allocations: 315.4 kB / 406.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003686/0.37, allocations: 413.4 kB / 406.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.02e-05/0.3701, allocations: 31.91 kB / 406.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.3702, allocations: 106 kB / 406.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of Backend: time 7.01e-07/0.3702, allocations: 0 / 406.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.3708, allocations: 107.9 kB / 406.9 MB, free: 3 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008012/0.3716, allocations: 0.6115 MB / 407.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Templates: time 0.003853/0.3755, allocations: 0.6841 MB / 408.2 MB, free: 1.672 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1)