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.00164/0.00164, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008169/0.000817, allocations: 99.19 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.372e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09619, allocations: 51.48 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.396, allocations: 76.49 MB / 471.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.3963, allocations: 71.11 kB / 471.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003272/0.3996, allocations: 1.333 MB / 473 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3996, allocations: 0 / 473 MB, free: 13.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3996, allocations: 0 / 473 MB, free: 13.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002683/0.3999, allocations: 356.2 kB / 473.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3999, allocations: 9.625 kB / 473.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.4, allocations: 12.53 kB / 473.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4001, allocations: 185.7 kB / 473.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.4002, allocations: 7.984 kB / 473.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4002, allocations: 11.55 kB / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.932e-05/0.4003, allocations: 24.39 kB / 473.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4004, allocations: 106.6 kB / 473.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4004, allocations: 0 / 473.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4005, allocations: 0 / 473.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.4005, allocations: 0 / 473.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.4008, allocations: 359.1 kB / 474.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.4008, allocations: 62.47 kB / 474.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.4009, allocations: 26.27 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4009, allocations: 5.25 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.4009, allocations: 37.81 kB / 474.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4009, allocations: 0 / 474.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001597/0.4011, allocations: 66.73 kB / 474.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4011, allocations: 106.1 kB / 474.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.4012, allocations: 124.2 kB / 474.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.4012, allocations: 30.83 kB / 474.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.4013, allocations: 86.73 kB / 474.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.4013, allocations: 7.844 kB / 474.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.4013, allocations: 4 kB / 474.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.4014, allocations: 324.1 kB / 475 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.4014, allocations: 7.547 kB / 475 MB, free: 11.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.4014, allocations: 27.8 kB / 475 MB, free: 11.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.4014, allocations: 16.28 kB / 475 MB, free: 11.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4014, allocations: 4 kB / 475 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.071e-05/0.4015, allocations: 57.58 kB / 475.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4015, allocations: 4 kB / 475.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4015, allocations: 0 / 475.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4016, allocations: 5.969 kB / 475.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.4017, allocations: 13.56 kB / 475.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4017, allocations: 4 kB / 475.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.4017, allocations: 9.531 kB / 475.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4017, allocations: 5.219 kB / 475.1 MB, free: 11.77 MB / 346.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 () * 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 4.574e-05/0.4018, allocations: 104.9 kB / 475.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.4019, allocations: 52.45 kB / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.4019, allocations: 12.7 kB / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4019, allocations: 4 kB / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4019, allocations: 3.125 kB / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4019, allocations: 1.359 kB / 475.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4021, allocations: 156.8 kB / 475.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4021, allocations: 0 / 475.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.4022, allocations: 18.53 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4022, allocations: 1.266 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4022, allocations: 0 / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4022, allocations: 4 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4022, allocations: 0 / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4023, allocations: 274.6 kB / 475.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.4024, allocations: 87.77 kB / 475.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.4024, allocations: 5.5 kB / 475.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4025, allocations: 8.078 kB / 475.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.4025, allocations: 5.266 kB / 475.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4026, allocations: 4 kB / 475.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.4026, allocations: 105.4 kB / 475.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4026, allocations: 0 / 475.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.4029, allocations: 7.906 kB / 475.9 MB, free: 10.91 MB / 346.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 () * 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 9.034e-05/0.403, allocations: 103.9 kB / 476.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.4031, allocations: 28.66 kB / 476.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4031, allocations: 0 / 476.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.4031, allocations: 12.5 kB / 476.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.4034, allocations: 21.09 kB / 476.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.4036, allocations: 124.9 kB / 476.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.4038, allocations: 0.6956 MB / 476.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.614e-05/0.4038, allocations: 7.188 kB / 476.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.4038, allocations: 7.656 kB / 476.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4038, allocations: 8 kB / 477 MB, free: 9.898 MB / 346.7 MB Notification: Performance of Templates: time 0.002377/0.4062, allocations: 0.5018 MB / 477.5 MB, free: 9.637 MB / 346.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