Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 110.9 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.001311/0.001311, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.44/1.44, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3042, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002694/0.3069, allocations: 1.56 MB / 403 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.3078, allocations: 0.4908 MB / 403.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.3079, allocations: 0 / 403.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.308, allocations: 7.922 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3082, allocations: 11.88 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3084, allocations: 51.83 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3086, allocations: 47.83 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3087, allocations: 12 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.3087, allocations: 27.8 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.3088, allocations: 23.86 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3088, allocations: 0 / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3089, allocations: 4 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3089, allocations: 11.98 kB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.309, allocations: 35.8 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3091, allocations: 51.75 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3091, allocations: 0 / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3091, allocations: 3.984 kB / 403.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3091, allocations: 0 / 403.7 MB, free: 6.52 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.0005198/0.3096, allocations: 372.3 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3097, allocations: 8.031 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.3097, allocations: 8.844 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3099, allocations: 211.9 kB / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.31, allocations: 384 / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.31, allocations: 4.375 kB / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3102, allocations: 109.3 kB / 404.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3103, allocations: 4 kB / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3103, allocations: 0 / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3103, allocations: 0 / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.3104, allocations: 23.92 kB / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.3107, allocations: 261.8 kB / 404.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/0.3108, allocations: 41.22 kB / 404.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.3108, allocations: 25.7 kB / 404.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3108, allocations: 0 / 404.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3109, allocations: 34.56 kB / 404.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3109, allocations: 0 / 404.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000234/0.3111, allocations: 73.69 kB / 404.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3112, allocations: 77.11 kB / 405 MB, free: 5.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3113, allocations: 144.7 kB / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3113, allocations: 29.69 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.3114, allocations: 84.14 kB / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.3114, allocations: 7.906 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3114, allocations: 13.72 kB / 405.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.3115, allocations: 318.9 kB / 405.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.3116, allocations: 8 kB / 405.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.3116, allocations: 21.7 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.3117, allocations: 33.64 kB / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3117, allocations: 3.938 kB / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.3119, allocations: 53.75 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3119, allocations: 11.94 kB / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3119, allocations: 0 / 405.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3119, allocations: 3.938 kB / 405.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.312, allocations: 7.984 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.312, allocations: 3.984 kB / 405.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.312, allocations: 7.938 kB / 405.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3121, allocations: 0 / 405.7 MB, free: 4.289 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 7.368e-05/0.3121, allocations: 125.8 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.3122, allocations: 15.89 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3122, allocations: 7.875 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3122, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3122, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.3123, allocations: 96.94 kB / 405.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3123, allocations: 4 kB / 405.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.3124, allocations: 0 / 405.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3124, allocations: 11.92 kB / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001994/0.3126, allocations: 212.2 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001977/0.3128, allocations: 302 kB / 406.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.237e-05/0.3129, allocations: 24.02 kB / 406.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.313, allocations: 106.4 kB / 406.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of Backend: time 5.81e-07/0.313, allocations: 0 / 406.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.3134, allocations: 86.39 kB / 406.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005362/0.3139, allocations: 0.6088 MB / 407.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Templates: time 0.002678/0.3166, allocations: 0.5705 MB / 407.8 MB, free: 2.039 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)