Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009437/0.0009438, allocations: 99.52 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2605, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3703, allocations: 77.54 MB / 486.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.3707, allocations: 75.95 kB / 487 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004653/0.3754, allocations: 1.725 MB / 488.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3754, allocations: 0 / 488.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3754, allocations: 4 kB / 488.7 MB, free: 12.17 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.0004151/0.3759, allocations: 399.9 kB / 489.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3759, allocations: 8.656 kB / 489.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.376, allocations: 12.84 kB / 489.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3762, allocations: 217.6 kB / 489.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3762, allocations: 8.375 kB / 489.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3762, allocations: 4.375 kB / 489.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.3767, allocations: 241.5 kB / 489.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3767, allocations: 4.188 kB / 489.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.3767, allocations: 11.94 kB / 489.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3767, allocations: 0 / 489.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.3768, allocations: 53.45 kB / 489.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.377, allocations: 181.6 kB / 489.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3773, allocations: 150.9 kB / 490 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3774, allocations: 85.09 kB / 490.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3774, allocations: 7.938 kB / 490.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3775, allocations: 34.56 kB / 490.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3775, allocations: 0 / 490.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003235/0.3778, allocations: 176.4 kB / 490.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.3779, allocations: 59.41 kB / 490.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.378, allocations: 170 kB / 490.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3781, allocations: 33.7 kB / 490.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.3781, allocations: 88.47 kB / 490.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3781, allocations: 19.86 kB / 490.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.3782, allocations: 4 kB / 490.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3783, allocations: 322.8 kB / 491 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.3783, allocations: 19.98 kB / 491 MB, free: 9.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3784, allocations: 128.4 kB / 491.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3786, allocations: 150.7 kB / 491.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3786, allocations: 0 / 491.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002225/0.3788, allocations: 165.1 kB / 491.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3789, allocations: 8 kB / 491.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3789, allocations: 3.938 kB / 491.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3789, allocations: 8 kB / 491.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.379, allocations: 31.92 kB / 491.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3791, allocations: 8.438 kB / 491.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.3791, allocations: 16 kB / 491.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3791, allocations: 8 kB / 491.5 MB, free: 9.078 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.0001341/0.3793, allocations: 145.8 kB / 491.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.3795, allocations: 133.4 kB / 491.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.3795, allocations: 25.06 kB / 491.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3795, allocations: 4 kB / 491.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3795, allocations: 0 / 491.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3796, allocations: 7.984 kB / 491.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3797, allocations: 193.5 kB / 492 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3797, allocations: 0 / 492 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3798, allocations: 27.92 kB / 492 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3798, allocations: 0 / 492 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3798, allocations: 3.938 kB / 492 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3798, allocations: 4 kB / 492 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3799, allocations: 0 / 492 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.3801, allocations: 156 kB / 492.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.3802, allocations: 116.8 kB / 492.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3802, allocations: 7.938 kB / 492.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.3802, allocations: 0 / 492.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.3802, allocations: 0 / 492.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3803, allocations: 8 kB / 492.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.372e-05/0.3804, allocations: 119.1 kB / 492.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3804, allocations: 0 / 492.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000225/0.3806, allocations: 16 kB / 492.4 MB, free: 8.027 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.0001704/0.3808, allocations: 123 kB / 492.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.381, allocations: 95.84 kB / 492.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.381, allocations: 0 / 492.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.381, allocations: 1 kB / 492.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.3815, allocations: 95.52 kB / 492.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.3819, allocations: 276.1 kB / 493 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3822, allocations: 0.7203 MB / 493.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.3823, allocations: 17.08 kB / 493.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3823, allocations: 11.44 kB / 493.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3823, allocations: 0 / 493.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of Templates: time 0.003265/0.3856, allocations: 1.032 MB / 494.8 MB, free: 5.621 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches