Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.00172, allocations: 114.3 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.002217/0.002217, allocations: 206.8 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.52/1.52, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3308, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002785/0.3336, allocations: 1.62 MB / 411.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3347, allocations: 0.5842 MB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.3348, allocations: 7.938 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.3349, allocations: 3.938 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.335, allocations: 15.86 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.3354, allocations: 67.73 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3355, allocations: 55.84 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3356, allocations: 28.14 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3358, allocations: 31.86 kB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.3358, allocations: 23.86 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3359, allocations: 4 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-05/0.3359, allocations: 4 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.336, allocations: 27.84 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.336, allocations: 31.75 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3362, allocations: 75.66 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3362, allocations: 4 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3362, allocations: 3.938 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3362, allocations: 4 kB / 412.5 MB, free: 14.99 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005406/0.3368, allocations: 388.2 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3368, allocations: 8.031 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.337, allocations: 16.84 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3373, allocations: 220 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3373, allocations: 8.375 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3373, allocations: 4.375 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3377, allocations: 143 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3377, allocations: 0 / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3377, allocations: 4 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3377, allocations: 0 / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.3378, allocations: 27.92 kB / 413.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3382, allocations: 291.4 kB / 413.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3383, allocations: 94.36 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.3384, allocations: 47.48 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3384, allocations: 0 / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3385, allocations: 38.56 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3385, allocations: 0 / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003009/0.3388, allocations: 105.8 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.3388, allocations: 128.5 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.339, allocations: 153.5 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.339, allocations: 25.7 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3391, allocations: 92.14 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.3391, allocations: 3.906 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3391, allocations: 21.7 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3393, allocations: 323 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.3393, allocations: 19.92 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.3394, allocations: 45.14 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3395, allocations: 69.02 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3395, allocations: 0 / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001687/0.3397, allocations: 89.61 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3397, allocations: 7.938 kB / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3397, allocations: 4 kB / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3397, allocations: 0 / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.3398, allocations: 19.92 kB / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3399, allocations: 128 / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.3399, allocations: 11.94 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3399, allocations: 4 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.305e-05/0.34, allocations: 129.7 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3401, allocations: 15.94 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.3401, allocations: 15.83 kB / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3401, allocations: 0 / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3401, allocations: 0 / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.3402, allocations: 100.9 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3402, allocations: 4 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3403, allocations: 4 kB / 415.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.3404, allocations: 3.938 kB / 415.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002729/0.3406, allocations: 398.6 kB / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003835/0.341, allocations: 480.7 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.261e-05/0.3411, allocations: 27.92 kB / 416 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.3412, allocations: 119.2 kB / 416.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.3412, allocations: 0 / 416.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.3419, allocations: 114.4 kB / 416.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005931/0.3425, allocations: 0.6364 MB / 416.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003589/0.3461, allocations: 0.9145 MB / 417.8 MB, free: 9.258 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1)