Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008011, allocations: 98.5 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 12 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2864, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1/0.3864, allocations: 76.78 MB / 478.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.3868, allocations: 83.94 kB / 478.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0044/0.3913, allocations: 1.593 MB / 480 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3913, allocations: 0 / 480 MB, free: 2.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3913, allocations: 7.938 kB / 480 MB, free: 2 MB / 346.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.0005341/0.3919, allocations: 375 kB / 480.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3919, allocations: 8.031 kB / 480.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.392, allocations: 11.91 kB / 480.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.3923, allocations: 192.6 kB / 480.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3923, allocations: 8 kB / 480.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3923, allocations: 8 kB / 480.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.3928, allocations: 225.8 kB / 480.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3928, allocations: 0 / 480.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3929, allocations: 0 / 480.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3929, allocations: 0 / 480.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.393, allocations: 37.53 kB / 480.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.3932, allocations: 185.6 kB / 481 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.3935, allocations: 134.9 kB / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.3935, allocations: 7.984 kB / 481.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3935, allocations: 34.56 kB / 481.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.227e-06/0.3935, allocations: 0 / 481.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003461/0.3939, allocations: 153.6 kB / 481.3 MB, free: 496 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.394, allocations: 67.41 kB / 481.4 MB, free: 416 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3941, allocations: 129.1 kB / 481.5 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3942, allocations: 33.64 kB / 481.5 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.3943, allocations: 88.47 kB / 481.6 MB, free: 140 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3943, allocations: 7.984 kB / 481.6 MB, free: 132 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.3943, allocations: 4 kB / 481.6 MB, free: 128 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3945, allocations: 322.8 kB / 482 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.3945, allocations: 19.98 kB / 482 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3947, allocations: 117.7 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.3948, allocations: 43.92 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3948, allocations: 8 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002487/0.395, allocations: 145.2 kB / 482.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.395, allocations: 4 kB / 482.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3951, allocations: 4.5 kB / 482.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.3951, allocations: 12 kB / 482.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.058e-05/0.3951, allocations: 11.94 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.3952, allocations: 7.984 kB / 482.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.3952, allocations: 8 kB / 482.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3952, allocations: 11.98 kB / 482.3 MB, free: 15.36 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.0001478/0.3954, allocations: 145.7 kB / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3955, allocations: 121.4 kB / 482.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.3956, allocations: 25.17 kB / 482.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3956, allocations: 0 / 482.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3956, allocations: 0 / 482.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3956, allocations: 4 kB / 482.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.3958, allocations: 181.6 kB / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3958, allocations: 4 kB / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.3958, allocations: 0 / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3958, allocations: 0 / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3958, allocations: 8 kB / 482.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3958, allocations: 0 / 482.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3959, allocations: 3.938 kB / 482.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.396, allocations: 152.2 kB / 483 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.3961, allocations: 104.9 kB / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3962, allocations: 4 kB / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.3962, allocations: 4 kB / 483.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.3962, allocations: 0 / 483.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3962, allocations: 4 kB / 483.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.3963, allocations: 109.4 kB / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3963, allocations: 0 / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000208/0.3965, allocations: 20 kB / 483.2 MB, free: 14.39 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 0.0001392/0.3966, allocations: 103.8 kB / 483.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.3968, allocations: 96.52 kB / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3968, allocations: 0 / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3969, allocations: 12.12 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3972, allocations: 75.94 kB / 483.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.3976, allocations: 239.4 kB / 483.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.398, allocations: 0.7165 MB / 484.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.3981, allocations: 4.656 kB / 484.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.3981, allocations: 15.42 kB / 484.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3981, allocations: 0 / 484.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003168/0.4013, allocations: 0.9038 MB / 485.4 MB, free: 12.19 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches