Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 60.14 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3304, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002833/0.3333, allocations: 1.578 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.3343, allocations: 0.5452 MB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.3344, allocations: 4 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.3344, allocations: 11.86 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3346, allocations: 7.938 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.3349, allocations: 67.69 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.335, allocations: 43.86 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3352, allocations: 24.16 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3353, allocations: 27.92 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.3354, allocations: 23.8 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3354, allocations: 4 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.786e-05/0.3355, allocations: 4 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.3355, allocations: 15.92 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.3356, allocations: 31.8 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3357, allocations: 63.67 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3358, allocations: 0 / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3358, allocations: 4 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3358, allocations: 0 / 412.4 MB, free: 15.09 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.0005823/0.3364, allocations: 380.3 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3364, allocations: 8.031 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.3366, allocations: 24.73 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3369, allocations: 201.8 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3369, allocations: 8.375 kB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3369, allocations: 3.938 kB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.3373, allocations: 117.9 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3373, allocations: 0 / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3373, allocations: 4 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3373, allocations: 7.938 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.3374, allocations: 23.98 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.3378, allocations: 274.5 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3379, allocations: 75.78 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.338, allocations: 30.62 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.338, allocations: 7.984 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3381, allocations: 30.56 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3381, allocations: 4 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002907/0.3384, allocations: 81.52 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3384, allocations: 106.8 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3386, allocations: 153.3 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3386, allocations: 29.64 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3387, allocations: 88.52 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3387, allocations: 15.89 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3388, allocations: 13.72 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3389, allocations: 322.8 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.339, allocations: 7.984 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.339, allocations: 35.42 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.3391, allocations: 47.36 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3392, allocations: 4 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/0.3393, allocations: 69.52 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3393, allocations: 8 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3393, allocations: 4.125 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3394, allocations: 0 / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.3395, allocations: 15.88 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3395, allocations: 4 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.3395, allocations: 11.86 kB / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3396, allocations: 4 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001006/0.3397, allocations: 117.8 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3397, allocations: 7.906 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.3398, allocations: 19.86 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3398, allocations: 4.078 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3398, allocations: 4 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3398, allocations: 96.94 kB / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3399, allocations: 0 / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.3399, allocations: 4 kB / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.34, allocations: 0 / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002362/0.3402, allocations: 303.4 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002504/0.3405, allocations: 397.2 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.275e-05/0.3405, allocations: 16.08 kB / 415.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.642e-05/0.3406, allocations: 111.3 kB / 415.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.3406, allocations: 0 / 415.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.3412, allocations: 102.3 kB / 415.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005468/0.3417, allocations: 0.6087 MB / 416.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Templates: time 0.003571/0.3453, allocations: 0.7446 MB / 417.1 MB, free: 10 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1)