Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 118.3 kB / 18.46 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001601, allocations: 202.7 kB / 19.41 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2603, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002652/0.263, allocations: 1.569 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.2639, allocations: 0.5453 MB / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.264, allocations: 4 kB / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.2641, allocations: 7.922 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2642, allocations: 15.88 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2645, allocations: 63.75 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2646, allocations: 39.86 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2647, allocations: 24.16 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2648, allocations: 31.86 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.2649, allocations: 19.86 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2649, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.2649, allocations: 8 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.265, allocations: 15.92 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.265, allocations: 27.8 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2652, allocations: 59.53 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2652, allocations: 0 / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2652, allocations: 8 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2652, allocations: 3.938 kB / 412.4 MB, free: 15.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004341/0.2657, allocations: 379 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2657, allocations: 12.03 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.2658, allocations: 20.88 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2661, allocations: 199.8 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2661, allocations: 12.38 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.2661, allocations: 3.938 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.2663, allocations: 105 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2664, allocations: 0 / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2664, allocations: 0 / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2664, allocations: 3.984 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/0.2665, allocations: 27.92 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.2667, allocations: 261.8 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.2668, allocations: 45.14 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.2669, allocations: 21.78 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.2669, allocations: 7.969 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2669, allocations: 38.5 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2669, allocations: 0 / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.2672, allocations: 69.56 kB / 413.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.2672, allocations: 81.36 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2673, allocations: 141.8 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2674, allocations: 25.7 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.2674, allocations: 100.1 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.2674, allocations: 0 / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2675, allocations: 13.72 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.2676, allocations: 322.8 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.2676, allocations: 4 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.2677, allocations: 33.64 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.2677, allocations: 25.7 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2678, allocations: 7.938 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.2679, allocations: 57.58 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2679, allocations: 11.09 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2679, allocations: 0 / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2679, allocations: 0 / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.268, allocations: 8 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.268, allocations: 3.984 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.268, allocations: 3.938 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2681, allocations: 7.984 kB / 414.4 MB, free: 12.84 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: 0 () * 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 6.846e-05/0.2681, allocations: 113.8 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2682, allocations: 7.953 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.2682, allocations: 15.86 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2682, allocations: 0 / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2682, allocations: 0 / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.2683, allocations: 96.98 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2683, allocations: 0 / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.2684, allocations: 4 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.2684, allocations: 0 / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001727/0.2686, allocations: 212.2 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001877/0.2688, allocations: 313.9 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.808e-05/0.2688, allocations: 11.98 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.715e-05/0.2689, allocations: 110.8 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2689, allocations: 4.094 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.2694, allocations: 86.39 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004786/0.2699, allocations: 0.6265 MB / 416 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Templates: time 0.002713/0.2726, allocations: 0.6729 MB / 416.6 MB, free: 10.48 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1)