Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 180.8 kB / 16.39 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.35/1.35, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009544/0.0009544, allocations: 90.48 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2831, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3854, allocations: 76.81 MB / 478.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.3857, allocations: 76.7 kB / 478.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004553/0.3903, allocations: 1.717 MB / 480.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3903, allocations: 0 / 480.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3903, allocations: 4 kB / 480.1 MB, free: 1.902 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.0003677/0.3907, allocations: 398.8 kB / 480.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3907, allocations: 12.03 kB / 480.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.3908, allocations: 7.906 kB / 480.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.391, allocations: 218.7 kB / 480.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.391, allocations: 4 kB / 480.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.391, allocations: 8 kB / 480.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.3914, allocations: 241.4 kB / 481 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3915, allocations: 0 / 481 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3915, allocations: 11.98 kB / 481 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3915, allocations: 0 / 481 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.3916, allocations: 52.88 kB / 481 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.3917, allocations: 193.5 kB / 481.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.392, allocations: 147 kB / 481.4 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.392, allocations: 0 / 481.4 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.392, allocations: 34.56 kB / 481.4 MB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.133e-06/0.392, allocations: 4 kB / 481.4 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002992/0.3923, allocations: 173.6 kB / 481.6 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.3924, allocations: 63.41 kB / 481.6 MB, free: 192 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3925, allocations: 151.7 kB / 481.8 MB, free: 32 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3926, allocations: 29.78 kB / 481.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.3926, allocations: 88.47 kB / 481.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.3927, allocations: 11.98 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.3927, allocations: 4 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3928, allocations: 326.8 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.3928, allocations: 15.98 kB / 482.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.3929, allocations: 120.5 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.393, allocations: 47.92 kB / 482.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.393, allocations: 0 / 482.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001956/0.3932, allocations: 165.1 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3932, allocations: 8 kB / 482.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3932, allocations: 8.438 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3933, allocations: 8 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3934, allocations: 27.98 kB / 482.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3934, allocations: 11.88 kB / 482.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.3935, allocations: 15.98 kB / 482.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3935, allocations: 8 kB / 482.7 MB, free: 15.07 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001144/0.3936, allocations: 149.7 kB / 482.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.3938, allocations: 129.4 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.3938, allocations: 25.17 kB / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3938, allocations: 4 kB / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3938, allocations: 0 / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3938, allocations: 0 / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.394, allocations: 197.4 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.394, allocations: 0 / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3941, allocations: 31.92 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3941, allocations: 0 / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3941, allocations: 4 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3941, allocations: 0 / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3941, allocations: 3.984 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.3943, allocations: 168 kB / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.3944, allocations: 104.9 kB / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3944, allocations: 4 kB / 483.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.3945, allocations: 11.92 kB / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.3945, allocations: 0 / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3945, allocations: 0 / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.3946, allocations: 122.3 kB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3946, allocations: 0 / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.3948, allocations: 20 kB / 483.6 MB, free: 14.02 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.000123/0.3949, allocations: 111.2 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3951, allocations: 96.52 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3951, allocations: 256 / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.3951, allocations: 4 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3954, allocations: 87.92 kB / 483.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3958, allocations: 272.1 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3961, allocations: 0.7319 MB / 484.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.3961, allocations: 5.094 kB / 484.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.3962, allocations: 11.44 kB / 484.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3962, allocations: 4 kB / 484.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.002973/0.3992, allocations: 1.024 MB / 486 MB, free: 11.64 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches