Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008492/0.0008493, allocations: 98.84 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002236/0.0002236, allocations: 11.98 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1909, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08351/0.2745, allocations: 77.21 MB / 486.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.2747, allocations: 85.97 kB / 486.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00303/0.2778, allocations: 1.324 MB / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2778, allocations: 0 / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2778, allocations: 4 kB / 488 MB, free: 11.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003296/0.2781, allocations: 376.6 kB / 488.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2782, allocations: 8.031 kB / 488.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.2782, allocations: 15.91 kB / 488.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2784, allocations: 189 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.2784, allocations: 11.95 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2784, allocations: 3.938 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2787, allocations: 133.8 kB / 488.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2787, allocations: 0 / 488.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2787, allocations: 0 / 488.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.2787, allocations: 0 / 488.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2788, allocations: 47.95 kB / 488.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.2792, allocations: 381.8 kB / 489.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.2794, allocations: 75.78 kB / 489.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2794, allocations: 8.047 kB / 489.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2794, allocations: 30.56 kB / 489.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2794, allocations: 0 / 489.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003043/0.2797, allocations: 125.4 kB / 489.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2798, allocations: 103.2 kB / 489.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2799, allocations: 133 kB / 489.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2799, allocations: 25.7 kB / 489.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.28, allocations: 96.05 kB / 489.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.28, allocations: 3.984 kB / 489.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.28, allocations: 0 / 489.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.2801, allocations: 322.8 kB / 490.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.2802, allocations: 15.98 kB / 490.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.2802, allocations: 43.42 kB / 490.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.2803, allocations: 31.91 kB / 490.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2803, allocations: 8 kB / 490.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.2805, allocations: 81.52 kB / 490.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2805, allocations: 4 kB / 490.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2805, allocations: 4 kB / 490.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2805, allocations: 128 / 490.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.2806, allocations: 23.98 kB / 490.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2806, allocations: 0 / 490.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.2807, allocations: 4 kB / 490.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2807, allocations: 7.938 kB / 490.3 MB, free: 9.453 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.296e-05/0.2808, allocations: 132.6 kB / 490.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.2809, allocations: 49.59 kB / 490.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2809, allocations: 15.91 kB / 490.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2809, allocations: 3.984 kB / 490.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2809, allocations: 0 / 490.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2809, allocations: 7.938 kB / 490.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.2811, allocations: 173.6 kB / 490.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2812, allocations: 0 / 490.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.2812, allocations: 15.98 kB / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2812, allocations: 0 / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.2812, allocations: 0 / 490.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2812, allocations: 4 kB / 490.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2813, allocations: 7.938 kB / 490.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2815, allocations: 295 kB / 491 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.2816, allocations: 93 kB / 491.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.2816, allocations: 4.141 kB / 491.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.2817, allocations: 7.984 kB / 491.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.2817, allocations: 7.984 kB / 491.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.2817, allocations: 4 kB / 491.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.2818, allocations: 111.2 kB / 491.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2818, allocations: 4 kB / 491.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.2821, allocations: 8 kB / 491.2 MB, free: 8.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.988e-05/0.2822, allocations: 103.1 kB / 491.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.2823, allocations: 60.14 kB / 491.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2824, allocations: 0 / 491.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.2824, allocations: 19.88 kB / 491.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.2827, allocations: 32 kB / 491.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.283, allocations: 190.6 kB / 491.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.2832, allocations: 0.6965 MB / 492.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.382e-05/0.2833, allocations: 12.11 kB / 492.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.2833, allocations: 11.44 kB / 492.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2833, allocations: 0 / 492.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of Templates: time 0.002184/0.2855, allocations: 0.5379 MB / 492.9 MB, free: 6.699 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches