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.001277/0.001278, 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.001666/0.001666, 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.522/1.522, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.05 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004545/0.2821, allocations: 1.883 MB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.2848, allocations: 1.286 MB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.285, allocations: 3.938 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.2854, allocations: 67.67 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.2858, allocations: 131.4 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.2866, allocations: 230.8 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.2869, allocations: 175.5 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.2871, allocations: 41.45 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2872, allocations: 67.7 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.2874, allocations: 83.67 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.2875, allocations: 11.98 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.2877, allocations: 67.91 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2879, allocations: 51.83 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.288, allocations: 79.42 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.2885, allocations: 239.1 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2885, allocations: 0 / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2885, allocations: 0 / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2885, allocations: 0 / 414.3 MB, free: 13.16 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.001167/0.2897, allocations: 0.544 MB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.2898, allocations: 8.031 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.2899, allocations: 24.66 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.2905, allocations: 291.6 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2906, allocations: 8.375 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.2906, allocations: 16.06 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.2911, allocations: 167.4 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2911, allocations: 0 / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2911, allocations: 0 / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2912, allocations: 4 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.2913, allocations: 31.92 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.292, allocations: 382.5 kB / 415.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.2923, allocations: 119.9 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.2924, allocations: 46.56 kB / 415.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.2924, allocations: 0 / 415.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.2926, allocations: 83.31 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.556e-06/0.2926, allocations: 0 / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000413/0.293, allocations: 161.2 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.2931, allocations: 154.2 kB / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.2935, allocations: 334.7 kB / 416.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.2936, allocations: 29.64 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2937, allocations: 136.1 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.2937, allocations: 23.73 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.2938, allocations: 33.95 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.294, allocations: 338.8 kB / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.2941, allocations: 20 kB / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2942, allocations: 82.84 kB / 417.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.2944, allocations: 88.22 kB / 417.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2944, allocations: 0 / 417.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002621/0.2947, allocations: 125.5 kB / 417.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.2947, allocations: 8 kB / 417.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2948, allocations: 4.188 kB / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.2948, allocations: 8 kB / 417.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2949, allocations: 12 kB / 417.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.295, allocations: 7.984 kB / 417.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.295, allocations: 8 kB / 417.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2951, allocations: 7.938 kB / 417.6 MB, free: 9.562 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.0001858/0.2953, allocations: 157.7 kB / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.2953, allocations: 23.7 kB / 417.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.2954, allocations: 29.72 kB / 417.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.2954, allocations: 3.984 kB / 417.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2954, allocations: 0 / 417.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.2957, allocations: 124.7 kB / 417.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.2957, allocations: 7.938 kB / 417.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.2958, allocations: 7.984 kB / 417.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2959, allocations: 8 kB / 417.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000412/0.2963, allocations: 347.4 kB / 418.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00045/0.2967, allocations: 457 kB / 418.7 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001121/0.2969, allocations: 47.91 kB / 418.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.2971, allocations: 249.9 kB / 419 MB, free: 8.074 MB / 334.1 MB Notification: Performance of Backend: time 6.82e-07/0.2971, allocations: 4.062 kB / 419 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.2989, allocations: 446.7 kB / 419.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009603/0.2999, allocations: 0.8238 MB / 420.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of Templates: time 0.006839/0.3067, allocations: 3.013 MB / 423.3 MB, free: 3.918 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)