Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 106.4 kB / 17.74 MB, free: 5.348 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.001406/0.001406, allocations: 185.4 kB / 18.67 MB, free: 4.43 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.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2945, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003165/0.2977, allocations: 1.902 MB / 403.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2997, allocations: 1.169 MB / 404.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2998, allocations: 7.938 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3002, allocations: 63.66 kB / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.3004, allocations: 95.59 kB / 404.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.3012, allocations: 270.4 kB / 404.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.3014, allocations: 179.5 kB / 405.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3015, allocations: 33.55 kB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3016, allocations: 79.69 kB / 405.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3018, allocations: 79.62 kB / 405.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3018, allocations: 12 kB / 405.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.302, allocations: 71.88 kB / 405.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.3021, allocations: 47.84 kB / 405.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.3022, allocations: 83.41 kB / 405.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3025, allocations: 252.3 kB / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3025, allocations: 0 / 405.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3025, allocations: 4 kB / 405.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3026, allocations: 0 / 405.7 MB, free: 4.543 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.0006975/0.3033, allocations: 0.535 MB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3033, allocations: 11.89 kB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.3034, allocations: 28.64 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3038, allocations: 295.5 kB / 406.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3038, allocations: 12.31 kB / 406.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3038, allocations: 16.11 kB / 406.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3042, allocations: 168.4 kB / 406.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3042, allocations: 4 kB / 406.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3042, allocations: 11.94 kB / 406.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3043, allocations: 0 / 406.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3044, allocations: 43.91 kB / 406.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3049, allocations: 399.2 kB / 407.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3052, allocations: 138.5 kB / 407.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3053, allocations: 63.41 kB / 407.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3054, allocations: 7.938 kB / 407.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3055, allocations: 87.28 kB / 407.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.3055, allocations: 0 / 407.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004019/0.306, allocations: 165.3 kB / 407.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.306, allocations: 183.9 kB / 407.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.3064, allocations: 334.6 kB / 408.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3064, allocations: 29.7 kB / 408.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.3065, allocations: 128.4 kB / 408.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3065, allocations: 19.88 kB / 408.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3066, allocations: 34.08 kB / 408.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3067, allocations: 342.8 kB / 408.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.3068, allocations: 23.98 kB / 408.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3069, allocations: 103 kB / 408.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3071, allocations: 102.2 kB / 409 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3071, allocations: 0 / 409 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002553/0.3074, allocations: 145.2 kB / 409.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3074, allocations: 4 kB / 409.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3074, allocations: 7.984 kB / 409.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3074, allocations: 0 / 409.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3076, allocations: 24 kB / 409.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3076, allocations: 3.984 kB / 409.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.3077, allocations: 15.78 kB / 409.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3077, allocations: 11.94 kB / 409.2 MB, free: 0.7188 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,table.y,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.0001405/0.3079, allocations: 158.5 kB / 409.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.3079, allocations: 23.72 kB / 409.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.308, allocations: 25.7 kB / 409.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.308, allocations: 7.984 kB / 409.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.308, allocations: 0 / 409.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3081, allocations: 108.9 kB / 409.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3081, allocations: 11.92 kB / 409.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.3082, allocations: 4 kB / 409.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.3083, allocations: 19.92 kB / 409.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003836/0.3087, allocations: 434.7 kB / 409.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003954/0.3091, allocations: 0.5354 MB / 410.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001173/0.3092, allocations: 55.95 kB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.3094, allocations: 241.9 kB / 410.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Backend: time 6.31e-07/0.3095, allocations: 0 / 410.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.311, allocations: 474.1 kB / 411.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008841/0.3119, allocations: 0.8345 MB / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Templates: time 0.006651/0.3186, allocations: 3.247 MB / 415.3 MB, free: 10.66 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1)