Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 176.5 kB / 16.78 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205 MB / 222.6 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 102.3 kB / 270.5 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09621/0.09621, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004548, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08019, allocations: 49.99 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001473/0.08171, allocations: 1.223 MB / 442.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003272/0.08206, allocations: 155.5 kB / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.08216, allocations: 4 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.08228, allocations: 3.938 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.08238, allocations: 3.984 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.08263, allocations: 39.91 kB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.08272, allocations: 35.86 kB / 443.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.08283, allocations: 15.98 kB / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.08286, allocations: 15.88 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.08289, allocations: 15.92 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.08292, allocations: 4 kB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.08293, allocations: 0 / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.083, allocations: 15.92 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.08303, allocations: 23.8 kB / 443.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.825e-05/0.08312, allocations: 40.11 kB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.08313, allocations: 0 / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.08314, allocations: 4 kB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.08315, allocations: 0 / 443.3 MB, free: 14.79 MB / 298.7 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.0003745/0.08353, allocations: 367.1 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.08357, allocations: 8.031 kB / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.08361, allocations: 12.83 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.08377, allocations: 201 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.08381, allocations: 384 / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.08383, allocations: 4.375 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.08409, allocations: 130.4 kB / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.08411, allocations: 4.125 kB / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.08413, allocations: 3.938 kB / 444 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.08416, allocations: 4 kB / 444 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.871e-05/0.08425, allocations: 31.97 kB / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.08459, allocations: 361.9 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.0847, allocations: 83.72 kB / 444.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.08477, allocations: 34.62 kB / 444.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.08479, allocations: 0 / 444.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.08481, allocations: 42.55 kB / 444.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.08482, allocations: 4 kB / 444.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002687/0.08509, allocations: 101.4 kB / 444.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.08513, allocations: 102.8 kB / 444.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.08523, allocations: 139.7 kB / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.08524, allocations: 26.08 kB / 444.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.08528, allocations: 96.05 kB / 445 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.0853, allocations: 7.938 kB / 445 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.08533, allocations: 13.72 kB / 445 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.08538, allocations: 318.8 kB / 445.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.08543, allocations: 11.98 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.08548, allocations: 43.42 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.08557, allocations: 55.36 kB / 445.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.08558, allocations: 3.938 kB / 445.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.0857, allocations: 77.52 kB / 445.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.08573, allocations: 8 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.08574, allocations: 3.938 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.08576, allocations: 0 / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.998e-05/0.08578, allocations: 4 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.08579, allocations: 0 / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.08584, allocations: 8 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.08585, allocations: 8.125 kB / 445.6 MB, free: 12.21 MB / 298.7 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 (sample.y[2],sample.y[1],sample.u[1],sample.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.65e-05/0.08595, allocations: 126.6 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.086, allocations: 7.906 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.08603, allocations: 11.81 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.08604, allocations: 4 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.08604, allocations: 0 / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.08608, allocations: 93 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.0861, allocations: 0 / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.0862, allocations: 8 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.08624, allocations: 11.88 kB / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001559/0.08641, allocations: 311.4 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001952/0.08661, allocations: 405.5 kB / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.075e-05/0.08668, allocations: 19.98 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.08674, allocations: 121.8 kB / 446.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of Backend: time 2.01e-07/0.08674, allocations: 4 kB / 446.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.08719, allocations: 90.39 kB / 446.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004183/0.08762, allocations: 0.6256 MB / 447.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Templates: time 0.002278/0.08991, allocations: 0.5864 MB / 448 MB, free: 9.703 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)