Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.00148/0.00148, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 55.91 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003021/0.2882, allocations: 1.518 MB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000393/0.2886, allocations: 151.5 kB / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.2887, allocations: 0 / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.2888, allocations: 7.938 kB / 403.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.16e-05/0.2889, allocations: 11.86 kB / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.2892, allocations: 39.91 kB / 403.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2893, allocations: 39.91 kB / 403.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2894, allocations: 12 kB / 403.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.2894, allocations: 19.86 kB / 403.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.2895, allocations: 15.92 kB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2895, allocations: 4 kB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.2895, allocations: 4 kB / 403.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.2896, allocations: 15.94 kB / 403.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.2896, allocations: 31.78 kB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.2897, allocations: 55.7 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2898, allocations: 0 / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2898, allocations: 0 / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2898, allocations: 0 / 403.3 MB, free: 6.961 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004592/0.2902, allocations: 368.3 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2903, allocations: 8.031 kB / 403.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2903, allocations: 8.844 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2905, allocations: 204.1 kB / 403.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2906, allocations: 4.375 kB / 403.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2906, allocations: 4.359 kB / 403.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.2909, allocations: 118.5 kB / 404 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2909, allocations: 4.188 kB / 404 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2909, allocations: 7.875 kB / 404 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.2909, allocations: 4 kB / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.291, allocations: 27.92 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.2915, allocations: 361.9 kB / 404.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2916, allocations: 83.72 kB / 404.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.2917, allocations: 30.62 kB / 404.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2917, allocations: 4 kB / 404.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.2918, allocations: 38.56 kB / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2918, allocations: 0 / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003038/0.2921, allocations: 93.5 kB / 404.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.2922, allocations: 110.7 kB / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.2923, allocations: 134.2 kB / 404.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2923, allocations: 29.7 kB / 404.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.2924, allocations: 100 kB / 405 MB, free: 4.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.2924, allocations: 4 kB / 405 MB, free: 4.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.2924, allocations: 17.72 kB / 405 MB, free: 4.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2926, allocations: 318.8 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.2926, allocations: 12 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.2927, allocations: 35.42 kB / 405.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.2928, allocations: 55.36 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2928, allocations: 3.938 kB / 405.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.293, allocations: 81.58 kB / 405.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.293, allocations: 6.5 kB / 405.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.293, allocations: 0 / 405.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.293, allocations: 4 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.259e-05/0.2931, allocations: 7.922 kB / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2931, allocations: 3.984 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.2931, allocations: 7.938 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2931, allocations: 4 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.y[2],sample1.y[1],sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.809e-05/0.2932, allocations: 129.8 kB / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2933, allocations: 7.906 kB / 405.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.2933, allocations: 11.88 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2933, allocations: 0 / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2933, allocations: 4 kB / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.2934, allocations: 89 kB / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2934, allocations: 0 / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2935, allocations: 7.984 kB / 405.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.2936, allocations: 7.938 kB / 405.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002291/0.2938, allocations: 311.4 kB / 406.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002664/0.2941, allocations: 397.4 kB / 406.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.27e-05/0.2942, allocations: 19.98 kB / 406.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.2942, allocations: 107.3 kB / 406.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of Backend: time 3.21e-07/0.2942, allocations: 3.938 kB / 406.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005229/0.2948, allocations: 98.47 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005832/0.2954, allocations: 0.6158 MB / 407.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of Templates: time 0.002834/0.2982, allocations: 0.6559 MB / 408 MB, free: 1.859 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)