Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 114.3 kB / 18.45 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.001495/0.001495, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2821, allocations: 50.55 MB / 409.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003987/0.2861, allocations: 1.899 MB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2886, allocations: 1.278 MB / 413.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.2888, allocations: 7.938 kB / 413.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.2893, allocations: 67.67 kB / 413.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.2897, allocations: 143.4 kB / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.2905, allocations: 218.8 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.2908, allocations: 183.5 kB / 413.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.291, allocations: 25.56 kB / 413.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.2911, allocations: 83.62 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2913, allocations: 79.67 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.2913, allocations: 8 kB / 413.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.2915, allocations: 67.95 kB / 414 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.2916, allocations: 55.77 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2917, allocations: 79.42 kB / 414.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.2922, allocations: 239 kB / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2922, allocations: 0 / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2922, allocations: 4 kB / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2922, allocations: 0 / 414.3 MB, free: 13.32 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.0008142/0.293, allocations: 0.5464 MB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2931, allocations: 12.03 kB / 414.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.2932, allocations: 24.78 kB / 414.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.2936, allocations: 291.8 kB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2937, allocations: 12.31 kB / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2937, allocations: 12.12 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2941, allocations: 155.5 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2941, allocations: 0 / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2942, allocations: 4 kB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2942, allocations: 4 kB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2943, allocations: 31.97 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.2949, allocations: 390.3 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.2952, allocations: 119.9 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2953, allocations: 46.56 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2953, allocations: 3.984 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.2955, allocations: 83.33 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.2955, allocations: 0 / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004175/0.2959, allocations: 149.4 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.296, allocations: 162.2 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.2964, allocations: 334.7 kB / 416.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.2965, allocations: 29.94 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.2966, allocations: 136.1 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.2966, allocations: 19.84 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.2967, allocations: 29.7 kB / 416.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2968, allocations: 338.8 kB / 417.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.2969, allocations: 27.92 kB / 417.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.297, allocations: 82.86 kB / 417.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2972, allocations: 84.47 kB / 417.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2972, allocations: 3.984 kB / 417.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.2974, allocations: 129.4 kB / 417.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2975, allocations: 8 kB / 417.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2975, allocations: 0 / 417.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2975, allocations: 0 / 417.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2976, allocations: 19.98 kB / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2976, allocations: 0 / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.2977, allocations: 8 kB / 417.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.2977, allocations: 7.938 kB / 417.6 MB, free: 9.719 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,table.y,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.0001412/0.2979, allocations: 161.9 kB / 417.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.2979, allocations: 27.81 kB / 417.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.298, allocations: 29.7 kB / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.298, allocations: 0 / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.298, allocations: 0 / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2981, allocations: 120.9 kB / 417.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.2982, allocations: 11.88 kB / 417.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.2983, allocations: 4 kB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2983, allocations: 11.98 kB / 417.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003591/0.2987, allocations: 351.4 kB / 418.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003894/0.2991, allocations: 457.1 kB / 418.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001109/0.2992, allocations: 56.08 kB / 418.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.2995, allocations: 245.9 kB / 419 MB, free: 8.219 MB / 334.1 MB Notification: Performance of Backend: time 6.01e-07/0.2995, allocations: 0 / 419 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3011, allocations: 445.8 kB / 419.5 MB, free: 7.918 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009742/0.3021, allocations: 0.8213 MB / 420.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of Templates: time 0.007318/0.3095, allocations: 3.021 MB / 423.3 MB, free: 4.055 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1)