Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 116 kB / 17.75 MB, free: 5.223 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.001143/0.001143, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009726/0.0009727, allocations: 47.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2885, allocations: 49.44 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002725/0.2913, allocations: 1.555 MB / 403 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.2921, allocations: 474.7 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.2922, allocations: 4 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.2923, allocations: 7.875 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.2924, allocations: 11.94 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2927, allocations: 43.83 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2928, allocations: 47.83 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2929, allocations: 16 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.293, allocations: 23.86 kB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.2931, allocations: 23.86 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2931, allocations: 4 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.2931, allocations: 4 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.2932, allocations: 15.97 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.2932, allocations: 19.81 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2933, allocations: 59.73 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2933, allocations: 4 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2933, allocations: 0 / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2933, allocations: 4 kB / 403.7 MB, free: 6.578 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.0004454/0.2938, allocations: 364.3 kB / 404.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2938, allocations: 8.031 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2939, allocations: 8.844 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2942, allocations: 207.9 kB / 404.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2942, allocations: 4.375 kB / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2942, allocations: 384 / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.2945, allocations: 113.3 kB / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2945, allocations: 0 / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2945, allocations: 4 kB / 404.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2945, allocations: 0 / 404.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.2946, allocations: 15.98 kB / 404.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2949, allocations: 265.7 kB / 404.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/0.295, allocations: 45.2 kB / 404.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.2951, allocations: 17.78 kB / 404.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2951, allocations: 7.938 kB / 404.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.2951, allocations: 34.56 kB / 404.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.2951, allocations: 0 / 404.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000259/0.2954, allocations: 69.52 kB / 404.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2955, allocations: 77.11 kB / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2956, allocations: 138.4 kB / 405.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2956, allocations: 29.7 kB / 405.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.2957, allocations: 88.14 kB / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2957, allocations: 11.89 kB / 405.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.2957, allocations: 13.72 kB / 405.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2958, allocations: 322.8 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.2959, allocations: 4 kB / 405.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.2959, allocations: 25.7 kB / 405.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.296, allocations: 33.64 kB / 405.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.296, allocations: 3.938 kB / 405.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.2962, allocations: 49.69 kB / 405.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2962, allocations: 4 kB / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2962, allocations: 0 / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2962, allocations: 8.125 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.2963, allocations: 11.92 kB / 405.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2963, allocations: 3.938 kB / 405.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.2964, allocations: 0 / 405.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2964, allocations: 4 kB / 405.7 MB, free: 4.359 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 8.467e-05/0.2965, allocations: 121.8 kB / 405.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.2965, allocations: 7.906 kB / 405.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2965, allocations: 11.88 kB / 405.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2965, allocations: 11.98 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2966, allocations: 0 / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.2966, allocations: 92.94 kB / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2966, allocations: 0 / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.2967, allocations: 11.98 kB / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.2968, allocations: 3.938 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001896/0.297, allocations: 208.2 kB / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002004/0.2972, allocations: 306.1 kB / 406.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.344e-05/0.2972, allocations: 11.92 kB / 406.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.2973, allocations: 109.8 kB / 406.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of Backend: time 4e-07/0.2973, allocations: 0 / 406.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.2978, allocations: 90.42 kB / 406.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005504/0.2983, allocations: 0.6127 MB / 407.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of Templates: time 0.002747/0.3011, allocations: 0.5676 MB / 407.8 MB, free: 2.109 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1)