Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 113.2 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.002025/0.002025, 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.455/1.455, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3277, allocations: 50.55 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00352/0.3312, allocations: 1.907 MB / 411.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3334, allocations: 1.196 MB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3335, allocations: 7.938 kB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.3342, allocations: 155.1 kB / 413.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.3346, allocations: 151.4 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.3352, allocations: 167.5 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.3354, allocations: 191.5 kB / 413.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3356, allocations: 37.53 kB / 413.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3357, allocations: 83.62 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3358, allocations: 71.64 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.3359, allocations: 8 kB / 413.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.336, allocations: 55.95 kB / 413.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.3361, allocations: 39.84 kB / 414 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.3362, allocations: 83.41 kB / 414.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.3366, allocations: 203.2 kB / 414.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3366, allocations: 4 kB / 414.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3366, allocations: 4 kB / 414.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3366, allocations: 0 / 414.3 MB, free: 13.38 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008335/0.3374, allocations: 0.5131 MB / 414.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3375, allocations: 8.031 kB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.3376, allocations: 20.75 kB / 414.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.3379, allocations: 270.8 kB / 415.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.338, allocations: 8.375 kB / 415.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.338, allocations: 8.125 kB / 415.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.3383, allocations: 150.7 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3384, allocations: 0 / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3384, allocations: 7.984 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3384, allocations: 4 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3385, allocations: 35.92 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.339, allocations: 354.4 kB / 415.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3393, allocations: 115.9 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/0.3393, allocations: 38.56 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3394, allocations: 4 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.3396, allocations: 83.38 kB / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3396, allocations: 0 / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003607/0.3399, allocations: 141.2 kB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.34, allocations: 140.5 kB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3403, allocations: 265 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3404, allocations: 29.95 kB / 416.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3405, allocations: 124 kB / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.3405, allocations: 19.95 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.3406, allocations: 29.62 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3407, allocations: 338.7 kB / 416.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.3408, allocations: 19.98 kB / 416.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.3409, allocations: 70 kB / 417 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.341, allocations: 76.22 kB / 417.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.341, allocations: 3.938 kB / 417.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002108/0.3412, allocations: 109.5 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3413, allocations: 8 kB / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3413, allocations: 4.297 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3413, allocations: 4 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.3414, allocations: 11.94 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3414, allocations: 4 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.3415, allocations: 15.94 kB / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3415, allocations: 11.92 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001355/0.3416, allocations: 149.9 kB / 417.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.3417, allocations: 19.72 kB / 417.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3417, allocations: 21.72 kB / 417.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3417, allocations: 3.984 kB / 417.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3418, allocations: 0 / 417.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.3418, allocations: 104.9 kB / 417.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3419, allocations: 3.938 kB / 417.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.342, allocations: 11.98 kB / 417.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.342, allocations: 11.92 kB / 417.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002989/0.3423, allocations: 339.4 kB / 417.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003457/0.3427, allocations: 452.9 kB / 418.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.892e-05/0.3428, allocations: 36.05 kB / 418.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.343, allocations: 200.5 kB / 418.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.343, allocations: 0 / 418.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3445, allocations: 442.8 kB / 419 MB, free: 8.367 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009121/0.3454, allocations: 0.7708 MB / 419.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of Templates: time 0.006725/0.3522, allocations: 2.577 MB / 422.4 MB, free: 5 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1)