Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.001411/0.001412, allocations: 185.4 kB / 18.67 MB, free: 4.414 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2775, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003931/0.2815, allocations: 1.556 MB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2825, allocations: 494.6 kB / 403.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2827, allocations: 0 / 403.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.751e-05/0.2828, allocations: 11.88 kB / 403.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.2829, allocations: 11.92 kB / 403.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.2833, allocations: 47.83 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2834, allocations: 51.78 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2835, allocations: 16.17 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.2836, allocations: 23.86 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.2837, allocations: 19.86 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2837, allocations: 8 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2838, allocations: 4 kB / 403.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.2838, allocations: 15.92 kB / 403.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.2839, allocations: 27.8 kB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.284, allocations: 51.81 kB / 403.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.284, allocations: 7.938 kB / 403.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.284, allocations: 3.984 kB / 403.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.2841, allocations: 3.938 kB / 403.7 MB, free: 6.504 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005902/0.2847, allocations: 375.4 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2847, allocations: 12.03 kB / 404.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.2848, allocations: 8.844 kB / 404.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.2851, allocations: 196.1 kB / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2851, allocations: 4.312 kB / 404.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.2851, allocations: 4.375 kB / 404.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.2855, allocations: 109.2 kB / 404.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2855, allocations: 0 / 404.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2855, allocations: 4 kB / 404.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2855, allocations: 0 / 404.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.2856, allocations: 19.97 kB / 404.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.286, allocations: 269.7 kB / 404.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.2861, allocations: 41.22 kB / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.2861, allocations: 17.77 kB / 404.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2862, allocations: 0 / 404.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2862, allocations: 46.44 kB / 404.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2862, allocations: 4 kB / 404.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002738/0.2865, allocations: 61.58 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2865, allocations: 81.05 kB / 405 MB, free: 5.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2867, allocations: 145.8 kB / 405.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2867, allocations: 29.7 kB / 405.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.2868, allocations: 88.14 kB / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2868, allocations: 4.156 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.2868, allocations: 21.72 kB / 405.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2869, allocations: 314.8 kB / 405.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.287, allocations: 4 kB / 405.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.287, allocations: 25.7 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.2871, allocations: 33.7 kB / 405.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2871, allocations: 0 / 405.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001235/0.2873, allocations: 61.53 kB / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2873, allocations: 4 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2873, allocations: 0 / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2873, allocations: 0 / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.2874, allocations: 11.98 kB / 405.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2874, allocations: 4 kB / 405.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.2875, allocations: 4.062 kB / 405.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2875, allocations: 4 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.656e-05/0.2876, allocations: 125.7 kB / 405.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2876, allocations: 7.906 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.2877, allocations: 3.875 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2877, allocations: 4 kB / 405.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2877, allocations: 3.938 kB / 405.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.2878, allocations: 96.94 kB / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2878, allocations: 0 / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.2879, allocations: 11.98 kB / 405.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2879, allocations: 3.938 kB / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001926/0.2881, allocations: 216.2 kB / 406.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002172/0.2883, allocations: 302.2 kB / 406.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.559e-05/0.2884, allocations: 11.98 kB / 406.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.568e-05/0.2885, allocations: 113.8 kB / 406.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of Backend: time 1.983e-06/0.2885, allocations: 0 / 406.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.289, allocations: 86.28 kB / 406.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005936/0.2896, allocations: 0.6206 MB / 407.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Templates: time 0.003084/0.2927, allocations: 0.6334 MB / 407.9 MB, free: 1.961 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1)