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.00135/0.00135, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.455/1.455, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.0009502/0.00095, allocations: 88.64 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 4 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2639, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.097/0.361, allocations: 76.42 MB / 477.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.3613, allocations: 81.14 kB / 478 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003409/0.3648, allocations: 1.319 MB / 479.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3648, allocations: 3.938 kB / 479.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3648, allocations: 0 / 479.3 MB, free: 2.656 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.0004033/0.3652, allocations: 380.2 kB / 479.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3653, allocations: 8.031 kB / 479.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3653, allocations: 11.86 kB / 479.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3655, allocations: 201.4 kB / 479.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3655, allocations: 0 / 479.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3655, allocations: 7.938 kB / 479.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.3658, allocations: 125.9 kB / 480 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3658, allocations: 4 kB / 480 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3658, allocations: 7.953 kB / 480 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3659, allocations: 0 / 480 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.366, allocations: 51.89 kB / 480.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.3664, allocations: 370 kB / 480.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.3665, allocations: 71.78 kB / 480.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3666, allocations: 3.984 kB / 480.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3666, allocations: 46.58 kB / 480.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.486e-06/0.3666, allocations: 0 / 480.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003286/0.3669, allocations: 117.7 kB / 480.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.367, allocations: 110.8 kB / 480.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3671, allocations: 125 kB / 480.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3672, allocations: 33.7 kB / 481 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3672, allocations: 92.03 kB / 481 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.3672, allocations: 0 / 481 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.3672, allocations: 4 kB / 481.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3674, allocations: 318.9 kB / 481.4 MB, free: 368 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.3674, allocations: 19.98 kB / 481.4 MB, free: 348 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.3675, allocations: 47.34 kB / 481.4 MB, free: 288 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.3676, allocations: 27.98 kB / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3676, allocations: 0 / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001642/0.3678, allocations: 93.5 kB / 481.5 MB, free: 160 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3678, allocations: 8 kB / 481.6 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3678, allocations: 3.984 kB / 481.6 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.3678, allocations: 0 / 481.6 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.3679, allocations: 15.98 kB / 481.6 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3679, allocations: 3.938 kB / 481.6 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.368, allocations: 11.98 kB / 481.6 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.368, allocations: 4.094 kB / 481.6 MB, free: 112 kB / 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 () * 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.326e-05/0.3681, allocations: 117.8 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.3682, allocations: 57.55 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.3682, allocations: 11.86 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3682, allocations: 7.938 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3682, allocations: 0 / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3682, allocations: 3.938 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.3684, allocations: 173.7 kB / 482 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3685, allocations: 4.031 kB / 482 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.3685, allocations: 15.98 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3685, allocations: 4 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3686, allocations: 7.891 kB / 482 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3686, allocations: 0 / 482 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3686, allocations: 0 / 482 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.3688, allocations: 295 kB / 482.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3689, allocations: 97 kB / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3689, allocations: 0 / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.369, allocations: 11.98 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3691, allocations: 4 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3691, allocations: 4 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.3692, allocations: 114.2 kB / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3692, allocations: 3.938 kB / 482.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.3694, allocations: 4 kB / 482.5 MB, free: 15.08 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.0001032/0.3695, allocations: 107.2 kB / 482.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.3697, allocations: 55.89 kB / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3697, allocations: 4 kB / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.3698, allocations: 20.3 kB / 482.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.37, allocations: 28.03 kB / 482.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.3704, allocations: 202.1 kB / 482.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3707, allocations: 0.7033 MB / 483.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.3707, allocations: 12.17 kB / 483.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.3707, allocations: 7.438 kB / 483.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3707, allocations: 0 / 483.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Templates: time 0.002288/0.373, allocations: 0.5267 MB / 484.2 MB, free: 13.36 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/jenkins/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