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.0009993/0.0009995, allocations: 177.5 kB / 17.4 MB, free: 4.301 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.534/1.534, allocations: 223.3 MB / 241.4 MB, free: 9.977 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.0008354/0.0008354, allocations: 99.52 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 50.41 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.3622, allocations: 76.81 MB / 479.6 MB, free: 3.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.3626, allocations: 75.95 kB / 479.6 MB, free: 3.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004225/0.3668, allocations: 1.596 MB / 481.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.3668, allocations: 0 / 481.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3669, allocations: 4 kB / 481.2 MB, free: 1.828 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.0004248/0.3673, allocations: 371.2 kB / 481.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3673, allocations: 12.03 kB / 481.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3674, allocations: 12.84 kB / 481.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.3676, allocations: 204 kB / 481.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3677, allocations: 8.375 kB / 481.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3677, allocations: 12.38 kB / 481.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.3681, allocations: 222.3 kB / 482.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.3681, allocations: 4.125 kB / 482.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3681, allocations: 3.938 kB / 482.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3681, allocations: 0 / 482.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.3682, allocations: 37.53 kB / 482.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.3684, allocations: 181.6 kB / 482.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3686, allocations: 134.8 kB / 482.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3688, allocations: 76.86 kB / 482.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3688, allocations: 4 kB / 482.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.3688, allocations: 30.56 kB / 482.5 MB, free: 384 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3688, allocations: 0 / 482.5 MB, free: 384 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002982/0.3691, allocations: 161.6 kB / 482.7 MB, free: 220 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3692, allocations: 67.39 kB / 482.8 MB, free: 140 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3694, allocations: 144.4 kB / 482.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3694, allocations: 25.7 kB / 482.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3694, allocations: 88.41 kB / 483 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3694, allocations: 11.91 kB / 483 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.3695, allocations: 0 / 483 MB, free: 15.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3696, allocations: 326.8 kB / 483.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.3696, allocations: 19.98 kB / 483.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.3697, allocations: 113.7 kB / 483.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3699, allocations: 150.6 kB / 483.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3699, allocations: 4 kB / 483.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002002/0.3701, allocations: 153.2 kB / 483.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.3701, allocations: 7.938 kB / 483.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3702, allocations: 7.938 kB / 483.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3702, allocations: 8 kB / 483.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.3702, allocations: 12.42 kB / 483.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3702, allocations: 15.92 kB / 483.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.3703, allocations: 12 kB / 483.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3703, allocations: 8 kB / 483.8 MB, free: 14.92 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.000119/0.3704, allocations: 137.8 kB / 484 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3706, allocations: 125.3 kB / 484.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.3706, allocations: 17.19 kB / 484.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3707, allocations: 0 / 484.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3707, allocations: 0 / 484.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3707, allocations: 11.98 kB / 484.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3708, allocations: 173.6 kB / 484.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3708, allocations: 4 kB / 484.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.3708, allocations: 7.922 kB / 484.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3708, allocations: 3.938 kB / 484.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3709, allocations: 8 kB / 484.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3709, allocations: 0 / 484.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3709, allocations: 0 / 484.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3711, allocations: 148.9 kB / 484.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.3711, allocations: 101 kB / 484.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.3712, allocations: 7.938 kB / 484.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.3712, allocations: 4 kB / 484.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-06/0.3712, allocations: 0 / 484.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3712, allocations: 7.984 kB / 484.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.3713, allocations: 109.8 kB / 484.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3713, allocations: 0 / 484.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.3715, allocations: 16 kB / 484.7 MB, free: 13.95 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.0001299/0.3717, allocations: 111.2 kB / 484.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.3718, allocations: 83.84 kB / 484.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3718, allocations: 0 / 484.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.3719, allocations: 5 kB / 484.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3722, allocations: 79.45 kB / 485 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3726, allocations: 247.3 kB / 485.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3729, allocations: 0.7165 MB / 485.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.373, allocations: 8.656 kB / 485.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.373, allocations: 11.44 kB / 486 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.373, allocations: 4 kB / 486 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003122/0.3761, allocations: 0.9141 MB / 486.9 MB, free: 11.74 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/jenkins1/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