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.001501/0.001501, allocations: 109.8 kB / 18.45 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.001869/0.001869, allocations: 212 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.527/1.527, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3514, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003641/0.3551, allocations: 1.569 MB / 411.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3566, allocations: 0.5376 MB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3568, allocations: 3.938 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.944e-05/0.357, allocations: 3.938 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.3571, allocations: 15.86 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.3576, allocations: 63.8 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3578, allocations: 55.8 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3579, allocations: 16.17 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.3581, allocations: 27.84 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.3582, allocations: 23.86 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3582, allocations: 4 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.213e-05/0.3583, allocations: 4 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.3583, allocations: 11.94 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3584, allocations: 31.8 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3586, allocations: 71.67 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3586, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3586, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3586, allocations: 0 / 412.4 MB, free: 15.15 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.0005877/0.3592, allocations: 376.3 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3593, allocations: 8.031 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3594, allocations: 20.73 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.3598, allocations: 216.2 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3598, allocations: 384 / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3598, allocations: 11.92 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.3602, allocations: 113 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3603, allocations: 0 / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3603, allocations: 4 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3603, allocations: 0 / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3604, allocations: 19.98 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.3608, allocations: 265.7 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.361, allocations: 45.2 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.361, allocations: 17.78 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3611, allocations: 0 / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3611, allocations: 38.5 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3611, allocations: 0 / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003057/0.3614, allocations: 69.73 kB / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3615, allocations: 77.11 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3617, allocations: 149.8 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3617, allocations: 25.7 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.3617, allocations: 88.14 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.3618, allocations: 0 / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.3618, allocations: 25.61 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3619, allocations: 318.8 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.362, allocations: 16.02 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.3621, allocations: 17.66 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.3621, allocations: 33.64 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3622, allocations: 0 / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001357/0.3623, allocations: 57.73 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3623, allocations: 4 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3623, allocations: 4 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3624, allocations: 0 / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3624, allocations: 4 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3625, allocations: 0 / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.3625, allocations: 11.88 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3625, allocations: 3.984 kB / 414.4 MB, free: 12.89 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 9.508e-05/0.3626, allocations: 125.8 kB / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3627, allocations: 15.84 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.3627, allocations: 11.88 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3627, allocations: 3.984 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3627, allocations: 0 / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.3628, allocations: 92.94 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3628, allocations: 4 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.3629, allocations: 0 / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3629, allocations: 4 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001958/0.3631, allocations: 216.2 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002432/0.3634, allocations: 305.9 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.036e-05/0.3635, allocations: 8 kB / 415.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.3635, allocations: 114.5 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Backend: time 1.743e-06/0.3636, allocations: 4 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000498/0.3641, allocations: 96.55 kB / 415.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006522/0.3647, allocations: 0.609 MB / 415.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of Templates: time 0.003487/0.3682, allocations: 0.6651 MB / 416.6 MB, free: 10.54 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)