Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2743, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003666/0.2781, allocations: 1.926 MB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.2802, allocations: 1.227 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2804, allocations: 4 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.2811, allocations: 155.5 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.2815, allocations: 159.3 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.2821, allocations: 178.9 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.2824, allocations: 199.4 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2825, allocations: 37.66 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.2826, allocations: 79.69 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2828, allocations: 83.55 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.2828, allocations: 12 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.283, allocations: 55.98 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.2831, allocations: 47.81 kB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.2832, allocations: 79.42 kB / 414.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.2835, allocations: 219 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2835, allocations: 0 / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2835, allocations: 8 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2835, allocations: 0 / 414.4 MB, free: 13.14 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007848/0.2843, allocations: 0.517 MB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2844, allocations: 8.031 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.2844, allocations: 28.64 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.2848, allocations: 274.8 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2848, allocations: 12.31 kB / 415.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.2849, allocations: 12.12 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.2852, allocations: 171.5 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2852, allocations: 0 / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2853, allocations: 8 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2853, allocations: 7.938 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2854, allocations: 35.92 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.2859, allocations: 379.2 kB / 415.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.2862, allocations: 134.5 kB / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.2863, allocations: 55.42 kB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.2863, allocations: 11.98 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.2865, allocations: 75.33 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.344e-06/0.2865, allocations: 0 / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000387/0.2869, allocations: 153.8 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.2869, allocations: 166.1 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.2872, allocations: 282.5 kB / 416.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2873, allocations: 25.7 kB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.2873, allocations: 116.4 kB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2874, allocations: 23.86 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.2874, allocations: 37.7 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2875, allocations: 330.8 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.2876, allocations: 24.02 kB / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2878, allocations: 79.72 kB / 417.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2879, allocations: 97.91 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2879, allocations: 0 / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002386/0.2882, allocations: 137.4 kB / 417.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.2882, allocations: 6.656 kB / 417.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2882, allocations: 3.984 kB / 417.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2883, allocations: 7.984 kB / 417.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.2883, allocations: 15.94 kB / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2884, allocations: 0 / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.2884, allocations: 15.92 kB / 417.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2885, allocations: 7.938 kB / 417.6 MB, free: 9.562 MB / 334.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.0001334/0.2886, allocations: 149.8 kB / 417.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.2887, allocations: 23.72 kB / 417.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.2887, allocations: 29.64 kB / 417.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2887, allocations: 0 / 417.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2887, allocations: 0 / 417.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2889, allocations: 105.2 kB / 417.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.2889, allocations: 15.86 kB / 417.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.289, allocations: 8 kB / 417.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.289, allocations: 4 kB / 417.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003417/0.2894, allocations: 430.7 kB / 418.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004788/0.2899, allocations: 0.5238 MB / 418.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.857e-05/0.29, allocations: 47.97 kB / 418.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.2902, allocations: 202 kB / 419.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2902, allocations: 3.938 kB / 419.1 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.2917, allocations: 460.3 kB / 419.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of SimCode: time 0.000916/0.2927, allocations: 0.7816 MB / 420.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of Templates: time 0.00673/0.2994, allocations: 2.804 MB / 423.1 MB, free: 4.066 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1)