Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 210.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.88 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2932, allocations: 50.53 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00359/0.2968, allocations: 1.903 MB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.2991, allocations: 1.204 MB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.2994, allocations: 7.938 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.3002, allocations: 151.5 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005675/0.3007, allocations: 151.4 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.3013, allocations: 175.1 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3016, allocations: 195.5 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3017, allocations: 29.53 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3019, allocations: 83.62 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.302, allocations: 79.62 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3021, allocations: 8 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3022, allocations: 51.97 kB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.3023, allocations: 39.84 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.3024, allocations: 75.47 kB / 414.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.3027, allocations: 219 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3027, allocations: 4 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3027, allocations: 0 / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3028, allocations: 0 / 414.3 MB, free: 13.25 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000798/0.3036, allocations: 0.5092 MB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3036, allocations: 8.031 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.3037, allocations: 20.75 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3041, allocations: 274.7 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3041, allocations: 8.375 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.3042, allocations: 8.125 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.3045, allocations: 150.7 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3045, allocations: 0 / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3046, allocations: 0 / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3046, allocations: 0 / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3047, allocations: 39.92 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3052, allocations: 350.5 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3055, allocations: 107.9 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.3055, allocations: 50.5 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3056, allocations: 7.984 kB / 415.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3057, allocations: 79.47 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.3058, allocations: 0 / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003581/0.3061, allocations: 149.2 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.3062, allocations: 136.5 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3065, allocations: 269 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3065, allocations: 29.7 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.3066, allocations: 128 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3066, allocations: 11.91 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3067, allocations: 33.61 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3068, allocations: 331 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.3068, allocations: 23.98 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.3069, allocations: 66 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3071, allocations: 80.25 kB / 417.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3071, allocations: 0 / 417.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002152/0.3073, allocations: 113.4 kB / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3073, allocations: 10.19 kB / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3074, allocations: 0 / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3074, allocations: 0 / 417.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.3075, allocations: 16.12 kB / 417.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3075, allocations: 3.938 kB / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.3076, allocations: 19.92 kB / 417.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3076, allocations: 3.938 kB / 417.3 MB, free: 9.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.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 (11): * Single equations (assignments): 11 * 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.0001216/0.3077, allocations: 149.8 kB / 417.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3077, allocations: 19.72 kB / 417.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.3078, allocations: 26.02 kB / 417.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.3078, allocations: 0 / 417.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3078, allocations: 4 kB / 417.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.3079, allocations: 108.9 kB / 417.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3079, allocations: 7.922 kB / 417.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.308, allocations: 8 kB / 417.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3081, allocations: 7.984 kB / 417.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002934/0.3084, allocations: 339.4 kB / 417.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003281/0.3087, allocations: 453 kB / 418.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.032e-05/0.3088, allocations: 39.97 kB / 418.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.309, allocations: 200.5 kB / 418.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.309, allocations: 0 / 418.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3105, allocations: 448.6 kB / 419 MB, free: 8.234 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008297/0.3113, allocations: 0.7639 MB / 419.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of Templates: time 0.006222/0.3176, allocations: 2.575 MB / 422.4 MB, free: 4.871 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1)