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.001664/0.00167, allocations: 199.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 226.5 MB / 245.4 MB, free: 8.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008279/0.0008279, allocations: 102.9 kB / 297.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 4 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3156, allocations: 51.28 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.4591, allocations: 77.14 MB / 486.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4595, allocations: 79.89 kB / 486.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005007/0.4646, allocations: 1.328 MB / 487.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4646, allocations: 0 / 487.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4646, allocations: 0 / 487.9 MB, free: 13.01 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.0005686/0.4652, allocations: 380.8 kB / 488.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.4653, allocations: 8.031 kB / 488.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.4653, allocations: 8.844 kB / 488.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.4657, allocations: 198.3 kB / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4657, allocations: 4.312 kB / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4657, allocations: 4.375 kB / 488.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.4662, allocations: 134.4 kB / 488.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4662, allocations: 192 / 488.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4663, allocations: 7.938 kB / 488.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4663, allocations: 0 / 488.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.4665, allocations: 51.89 kB / 488.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.4671, allocations: 373.9 kB / 489.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4674, allocations: 75.72 kB / 489.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4675, allocations: 46.61 kB / 489.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.4675, allocations: 0 / 489.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4676, allocations: 42.5 kB / 489.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.4676, allocations: 0 / 489.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005335/0.4681, allocations: 113.6 kB / 489.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.4682, allocations: 106.8 kB / 489.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.4684, allocations: 141.8 kB / 489.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4684, allocations: 25.7 kB / 489.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.4685, allocations: 96.42 kB / 489.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.4686, allocations: 3.906 kB / 489.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.4686, allocations: 0 / 489.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4687, allocations: 326.8 kB / 490 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.4689, allocations: 19.92 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.469, allocations: 47.42 kB / 490.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.4692, allocations: 71.34 kB / 490.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4692, allocations: 3.938 kB / 490.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003012/0.4695, allocations: 89.5 kB / 490.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4696, allocations: 4 kB / 490.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4696, allocations: 4.125 kB / 490.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4696, allocations: 4 kB / 490.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4697, allocations: 8 kB / 490.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.4698, allocations: 7.984 kB / 490.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.4698, allocations: 7.938 kB / 490.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.4699, allocations: 8 kB / 490.3 MB, free: 10.34 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 0.0001538/0.47, allocations: 133.7 kB / 490.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.4702, allocations: 49.59 kB / 490.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.4702, allocations: 11.97 kB / 490.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4702, allocations: 3.984 kB / 490.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4703, allocations: 0 / 490.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4703, allocations: 0 / 490.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.4706, allocations: 181.6 kB / 490.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4706, allocations: 0 / 490.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.4707, allocations: 8 kB / 490.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4708, allocations: 8.031 kB / 490.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4708, allocations: 0 / 490.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4708, allocations: 3.938 kB / 490.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.4708, allocations: 7.984 kB / 490.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.4712, allocations: 267.5 kB / 491 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.4713, allocations: 97 kB / 491 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.4713, allocations: 0 / 491 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.4715, allocations: 8 kB / 491.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.4715, allocations: 3.984 kB / 491.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.4716, allocations: 8 kB / 491.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4717, allocations: 106.5 kB / 491.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4717, allocations: 4 kB / 491.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.4721, allocations: 4 kB / 491.2 MB, free: 9.34 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 0.0001683/0.4723, allocations: 115.1 kB / 491.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.4726, allocations: 56.03 kB / 491.3 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4726, allocations: 4 kB / 491.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.4727, allocations: 19.98 kB / 491.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.4734, allocations: 23.95 kB / 491.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.474, allocations: 203.7 kB / 491.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.4744, allocations: 0.6965 MB / 492.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.4744, allocations: 7.75 kB / 492.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.4745, allocations: 15.42 kB / 492.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4745, allocations: 0 / 492.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of Templates: time 0.003926/0.4784, allocations: 0.551 MB / 492.9 MB, free: 7.605 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/jenkins1/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