Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001154, allocations: 114.3 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2995, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003672/0.3032, allocations: 1.908 MB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3052, allocations: 1.087 MB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.3054, allocations: 4 kB / 404.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.3061, allocations: 155.5 kB / 404.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3064, allocations: 115.5 kB / 404.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.307, allocations: 203.1 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.3072, allocations: 199.4 kB / 405.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3074, allocations: 41.64 kB / 405.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3075, allocations: 75.7 kB / 405.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3076, allocations: 79.61 kB / 405.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3077, allocations: 8 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3078, allocations: 59.91 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.3079, allocations: 39.84 kB / 405.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.308, allocations: 71.55 kB / 405.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.3083, allocations: 220.3 kB / 405.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3084, allocations: 8 kB / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3084, allocations: 0 / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3084, allocations: 0 / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008633/0.3092, allocations: 0.5157 MB / 406.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3093, allocations: 11.89 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.3094, allocations: 16.75 kB / 406.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.3098, allocations: 286.7 kB / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3098, allocations: 4.375 kB / 406.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3098, allocations: 16.06 kB / 406.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3102, allocations: 163.6 kB / 406.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3102, allocations: 8 kB / 406.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3102, allocations: 0 / 406.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3102, allocations: 0 / 406.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3104, allocations: 39.92 kB / 406.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.3109, allocations: 375.1 kB / 407.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.3112, allocations: 130.5 kB / 407.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.3113, allocations: 55.42 kB / 407.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.3113, allocations: 11.98 kB / 407.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.3115, allocations: 75.33 kB / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 5.821e-06/0.3115, allocations: 3.984 kB / 407.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003907/0.3119, allocations: 161.4 kB / 407.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.312, allocations: 154.2 kB / 407.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3123, allocations: 280.8 kB / 407.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3123, allocations: 25.7 kB / 408 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.3124, allocations: 120.5 kB / 408.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3124, allocations: 15.81 kB / 408.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.3125, allocations: 33.7 kB / 408.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3126, allocations: 339 kB / 408.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.3127, allocations: 20 kB / 408.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3129, allocations: 87.64 kB / 408.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.313, allocations: 93.97 kB / 408.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.313, allocations: 0 / 408.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002229/0.3133, allocations: 129.3 kB / 408.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3133, allocations: 8 kB / 408.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3133, allocations: 0 / 408.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3133, allocations: 4 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.3134, allocations: 19.98 kB / 408.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3134, allocations: 3.984 kB / 408.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.3135, allocations: 7.906 kB / 408.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3135, allocations: 11.94 kB / 408.8 MB, free: 1.066 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,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 (13): * Single equations (assignments): 13 * 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.0001481/0.3137, allocations: 149.9 kB / 409 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.3137, allocations: 19.81 kB / 409 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.3138, allocations: 21.7 kB / 409 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3138, allocations: 4.312 kB / 409 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3138, allocations: 0 / 409 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3139, allocations: 112.8 kB / 409.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.314, allocations: 11.94 kB / 409.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.314, allocations: 8 kB / 409.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3141, allocations: 7.984 kB / 409.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003669/0.3145, allocations: 438.5 kB / 409.6 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004222/0.3149, allocations: 0.5199 MB / 410.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.529e-05/0.315, allocations: 43.91 kB / 410.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.3152, allocations: 200.5 kB / 410.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of Backend: time 3.5e-07/0.3152, allocations: 0 / 410.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.3169, allocations: 449.5 kB / 410.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008977/0.3178, allocations: 0.777 MB / 411.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of Templates: time 0.00641/0.3242, allocations: 2.784 MB / 414.3 MB, free: 11.64 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1)