Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 202.4 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009449/0.0009449, allocations: 112.9 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001758/0.0001758, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.191, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08334/0.2744, allocations: 77.58 MB / 487 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.2746, allocations: 80.62 kB / 487.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003534/0.2782, allocations: 1.602 MB / 488.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2782, allocations: 0 / 488.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2782, allocations: 4 kB / 488.7 MB, free: 11.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002864/0.2785, allocations: 379 kB / 489 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2785, allocations: 8.031 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2786, allocations: 11.91 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2787, allocations: 187 kB / 489.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2787, allocations: 14.45 kB / 489.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2788, allocations: 8 kB / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.2791, allocations: 221.2 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2791, allocations: 0 / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2791, allocations: 3.953 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2791, allocations: 4 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.2792, allocations: 33.53 kB / 489.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.2793, allocations: 181.6 kB / 489.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2795, allocations: 138.8 kB / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.2796, allocations: 0 / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.2796, allocations: 30.56 kB / 489.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 8.82e-07/0.2796, allocations: 0 / 489.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002367/0.2798, allocations: 155.5 kB / 490 MB, free: 9.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.2799, allocations: 63.36 kB / 490.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.28, allocations: 139.7 kB / 490.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.28, allocations: 29.7 kB / 490.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.28, allocations: 88.47 kB / 490.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2801, allocations: 11.98 kB / 490.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2801, allocations: 0 / 490.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.2801, allocations: 314.8 kB / 490.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.2802, allocations: 23.98 kB / 490.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.2803, allocations: 121.7 kB / 490.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.2803, allocations: 39.94 kB / 490.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2803, allocations: 0 / 490.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001809/0.2805, allocations: 153.2 kB / 491 MB, free: 8.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2805, allocations: 8 kB / 491 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2805, allocations: 4 kB / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2806, allocations: 4.5 kB / 491 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.506e-05/0.2806, allocations: 19.92 kB / 491 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2806, allocations: 8 kB / 491 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.2807, allocations: 3.953 kB / 491 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2807, allocations: 16 kB / 491 MB, free: 8.754 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2808, allocations: 141.6 kB / 491.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.2809, allocations: 116.9 kB / 491.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.992e-05/0.281, allocations: 17.19 kB / 491.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.281, allocations: 11.94 kB / 491.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.281, allocations: 0 / 491.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.281, allocations: 0 / 491.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.544e-05/0.2811, allocations: 193.5 kB / 491.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2811, allocations: 0 / 491.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.2811, allocations: 3.984 kB / 491.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2811, allocations: 4 kB / 491.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2812, allocations: 4 kB / 491.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2812, allocations: 0 / 491.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2812, allocations: 0 / 491.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.2813, allocations: 152.9 kB / 491.7 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.2814, allocations: 100.9 kB / 491.8 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.2814, allocations: 4 kB / 491.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.2815, allocations: 4 kB / 491.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.2815, allocations: 0 / 491.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2815, allocations: 4 kB / 491.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.03e-05/0.2815, allocations: 109.1 kB / 491.9 MB, free: 7.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2815, allocations: 0 / 491.9 MB, free: 7.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.2818, allocations: 16 kB / 491.9 MB, free: 7.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.524e-05/0.2819, allocations: 107.2 kB / 492 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.282, allocations: 91.72 kB / 492.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.282, allocations: 1 kB / 492.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.282, allocations: 4 kB / 492.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2823, allocations: 93.83 kB / 492.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.2826, allocations: 239.3 kB / 492.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2828, allocations: 0.7165 MB / 493.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.2829, allocations: 8.641 kB / 493.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.2829, allocations: 15.38 kB / 493.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2829, allocations: 0 / 493.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of Templates: time 0.002654/0.2856, allocations: 0.899 MB / 494.1 MB, free: 5.586 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches