Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.3 MB / 241.4 MB, free: 9.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 95.86 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 8 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2903, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3927, allocations: 76.44 MB / 479.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.3931, allocations: 78.23 kB / 479.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003711/0.3968, allocations: 1.325 MB / 480.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3968, allocations: 3.938 kB / 480.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3969, allocations: 4 kB / 480.6 MB, free: 2.477 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.0004603/0.3973, allocations: 376.7 kB / 481 MB, free: 2.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3974, allocations: 12.03 kB / 481 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3974, allocations: 8.844 kB / 481 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3977, allocations: 200.1 kB / 481.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3977, allocations: 384 / 481.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3977, allocations: 8.359 kB / 481.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.3981, allocations: 122.5 kB / 481.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3981, allocations: 4.125 kB / 481.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.3981, allocations: 11.94 kB / 481.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3981, allocations: 4 kB / 481.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3983, allocations: 43.95 kB / 481.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3988, allocations: 373.9 kB / 481.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.399, allocations: 75.72 kB / 481.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.3991, allocations: 46.61 kB / 481.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3991, allocations: 0 / 481.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3991, allocations: 38.56 kB / 481.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.3991, allocations: 0 / 481.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003571/0.3995, allocations: 121.4 kB / 482 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.3996, allocations: 106.8 kB / 482.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3997, allocations: 149.1 kB / 482.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3997, allocations: 25.7 kB / 482.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.3998, allocations: 92.14 kB / 482.4 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.3998, allocations: 3.906 kB / 482.4 MB, free: 444 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.3998, allocations: 0 / 482.4 MB, free: 444 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4, allocations: 322.8 kB / 482.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.4, allocations: 15.98 kB / 482.7 MB, free: 96 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.4001, allocations: 47.42 kB / 482.8 MB, free: 36 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.4003, allocations: 71.34 kB / 482.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4003, allocations: 3.938 kB / 482.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001968/0.4005, allocations: 97.56 kB / 482.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4005, allocations: 4.625 kB / 482.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4006, allocations: 0 / 482.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4006, allocations: 7.984 kB / 482.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.4007, allocations: 15.92 kB / 483 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4007, allocations: 4 kB / 483 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.4008, allocations: 4 kB / 483 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4008, allocations: 8 kB / 483 MB, free: 15.8 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.0001257/0.4009, allocations: 129.8 kB / 483.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.401, allocations: 57.53 kB / 483.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.4011, allocations: 11.88 kB / 483.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4011, allocations: 0 / 483.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4011, allocations: 3.938 kB / 483.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4011, allocations: 4 kB / 483.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.4013, allocations: 181.6 kB / 483.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4014, allocations: 0 / 483.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.4014, allocations: 12.03 kB / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4014, allocations: 4 kB / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4014, allocations: 0 / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4015, allocations: 3.984 kB / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4015, allocations: 0 / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.4018, allocations: 275.4 kB / 483.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.4019, allocations: 97 kB / 483.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4019, allocations: 0 / 483.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.402, allocations: 4 kB / 483.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.4021, allocations: 7.984 kB / 483.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.4021, allocations: 4 kB / 483.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.4022, allocations: 110 kB / 483.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4022, allocations: 0 / 483.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.4025, allocations: 4 kB / 483.9 MB, free: 14.81 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.0001687/0.4027, allocations: 111.2 kB / 484 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.4029, allocations: 55.91 kB / 484 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4029, allocations: 0 / 484 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.403, allocations: 19.98 kB / 484 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4034, allocations: 31.27 kB / 484.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.4039, allocations: 211.8 kB / 484.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.4043, allocations: 0.6887 MB / 485 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.4044, allocations: 11.98 kB / 485 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.4044, allocations: 11.44 kB / 485 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4044, allocations: 0 / 485 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002713/0.4071, allocations: 0.5422 MB / 485.5 MB, free: 13.08 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches