Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002642/0.3469, allocations: 1.507 MB / 411.4 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000391/0.3473, allocations: 127.6 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.3474, allocations: 3.938 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.3474, allocations: 7.922 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.3475, allocations: 0 / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.3478, allocations: 43.84 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.223e-05/0.3479, allocations: 27.92 kB / 411.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.348, allocations: 11.98 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.348, allocations: 15.92 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.3481, allocations: 19.86 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3481, allocations: 0 / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.3481, allocations: 4 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.3482, allocations: 4 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.3482, allocations: 23.81 kB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3483, allocations: 43.81 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3483, allocations: 0 / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3484, allocations: 0 / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3484, allocations: 3.938 kB / 411.8 MB, free: 15.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004338/0.3488, allocations: 359.2 kB / 412.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3489, allocations: 8.031 kB / 412.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.3489, allocations: 8.844 kB / 412.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.3491, allocations: 197.3 kB / 412.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3492, allocations: 8.375 kB / 412.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.3492, allocations: 384 / 412.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.3494, allocations: 89.61 kB / 412.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3494, allocations: 192 / 412.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3495, allocations: 7.938 kB / 412.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3495, allocations: 0 / 412.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3495, allocations: 15.98 kB / 412.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.3498, allocations: 257.8 kB / 412.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.033e-05/0.3499, allocations: 45.08 kB / 412.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.35, allocations: 25.78 kB / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.35, allocations: 0 / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3501, allocations: 38.48 kB / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3501, allocations: 0 / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000217/0.3503, allocations: 57.59 kB / 412.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3503, allocations: 89.3 kB / 412.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3505, allocations: 137.2 kB / 413.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3505, allocations: 25.7 kB / 413.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.3505, allocations: 88.14 kB / 413.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.3506, allocations: 0 / 413.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3506, allocations: 21.62 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3507, allocations: 310.8 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.3507, allocations: 11.98 kB / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.3508, allocations: 21.72 kB / 413.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.3509, allocations: 25.7 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3509, allocations: 0 / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.351, allocations: 61.55 kB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.351, allocations: 11.25 kB / 413.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.351, allocations: 0 / 413.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.351, allocations: 0 / 413.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.3511, allocations: 8 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3511, allocations: 0 / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.3511, allocations: 0 / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3512, allocations: 4 kB / 413.7 MB, free: 13.57 MB / 334.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,step.y) * 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 7.529e-05/0.3512, allocations: 125.7 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.3513, allocations: 11.84 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.3513, allocations: 15.83 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3513, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3513, allocations: 7.938 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.3514, allocations: 89.08 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3514, allocations: 0 / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.3515, allocations: 3.984 kB / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.3515, allocations: 4 kB / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001652/0.3517, allocations: 212.1 kB / 414.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001932/0.3519, allocations: 310 kB / 414.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.128e-05/0.3519, allocations: 7.984 kB / 414.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.732e-05/0.352, allocations: 103.3 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Backend: time 2.6e-07/0.352, allocations: 4.094 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.3524, allocations: 92.56 kB / 414.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005021/0.3529, allocations: 0.5883 MB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Templates: time 0.002519/0.3555, allocations: 467.2 kB / 415.7 MB, free: 11.45 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1)