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.001163/0.001163, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008522/0.0008521, allocations: 104.9 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002167/0.0002167, allocations: 4 kB / 357.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1799, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08319/0.2631, allocations: 77.6 MB / 487 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.2634, allocations: 75.95 kB / 487.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004328/0.2677, allocations: 1.723 MB / 488.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2677, allocations: 0 / 488.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.2678, allocations: 4 kB / 488.8 MB, free: 11.19 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.0003604/0.2681, allocations: 402.8 kB / 489.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2682, allocations: 8.031 kB / 489.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2682, allocations: 15.89 kB / 489.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2684, allocations: 207.5 kB / 489.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2685, allocations: 11.95 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2685, allocations: 8 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.2689, allocations: 225.3 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2689, allocations: 3.953 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2689, allocations: 4 kB / 489.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2689, allocations: 7.938 kB / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.269, allocations: 53.45 kB / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.2691, allocations: 185.6 kB / 489.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.2694, allocations: 146.9 kB / 490.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.2694, allocations: 0 / 490.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2694, allocations: 38.56 kB / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.2694, allocations: 0 / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002821/0.2697, allocations: 179.2 kB / 490.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.2698, allocations: 63.34 kB / 490.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2699, allocations: 151.3 kB / 490.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2699, allocations: 25.7 kB / 490.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.27, allocations: 92.47 kB / 490.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.27, allocations: 15.98 kB / 490.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.27, allocations: 4 kB / 490.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2701, allocations: 322.8 kB / 490.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.2702, allocations: 23.92 kB / 491 MB, free: 8.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.2702, allocations: 120.5 kB / 491.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.2703, allocations: 43.94 kB / 491.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2703, allocations: 0 / 491.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002011/0.2705, allocations: 165.3 kB / 491.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2706, allocations: 8 kB / 491.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2706, allocations: 7.938 kB / 491.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2706, allocations: 4 kB / 491.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2707, allocations: 27.98 kB / 491.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2707, allocations: 15.89 kB / 491.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.2708, allocations: 7.906 kB / 491.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2708, allocations: 12.38 kB / 491.4 MB, free: 8.375 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.0001062/0.2709, allocations: 149.7 kB / 491.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.2711, allocations: 133.5 kB / 491.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.2711, allocations: 17.19 kB / 491.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2711, allocations: 7.938 kB / 491.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2712, allocations: 0 / 491.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2712, allocations: 7.938 kB / 491.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2713, allocations: 193.5 kB / 491.9 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2713, allocations: 4 kB / 491.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.2714, allocations: 27.92 kB / 491.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2714, allocations: 4 kB / 491.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2714, allocations: 4 kB / 491.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2714, allocations: 0 / 491.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2715, allocations: 0 / 491.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2716, allocations: 161 kB / 492.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.2717, allocations: 108.8 kB / 492.2 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2718, allocations: 4 kB / 492.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.2718, allocations: 12 kB / 492.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-06/0.2718, allocations: 3.984 kB / 492.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2718, allocations: 4 kB / 492.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.2719, allocations: 121.5 kB / 492.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2719, allocations: 0 / 492.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.2721, allocations: 16 kB / 492.3 MB, free: 7.312 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.0001253/0.2723, allocations: 119.2 kB / 492.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2724, allocations: 95.77 kB / 492.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2725, allocations: 0 / 492.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.2725, allocations: 0 / 492.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2728, allocations: 97.16 kB / 492.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.2732, allocations: 272.1 kB / 492.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2735, allocations: 0.7165 MB / 493.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.999e-05/0.2735, allocations: 17.08 kB / 493.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2735, allocations: 11.44 kB / 493.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2736, allocations: 3.938 kB / 493.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of Templates: time 0.002856/0.2764, allocations: 1.027 MB / 494.7 MB, free: 4.926 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/jenkins/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