Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 197.5 kB / 17.08 MB, free: 5.082 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: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009741/0.0009742, allocations: 99.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00022/0.0002199, allocations: 8 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1885, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08343/0.2719, allocations: 77.19 MB / 486.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.2722, allocations: 79.94 kB / 486.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003009/0.2752, allocations: 1.222 MB / 487.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2752, allocations: 0 / 487.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2753, allocations: 4 kB / 487.9 MB, free: 12.12 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.000362/0.2756, allocations: 354.3 kB / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2757, allocations: 12.03 kB / 488.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2757, allocations: 7.906 kB / 488.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2759, allocations: 199 kB / 488.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.276, allocations: 8 kB / 488.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.276, allocations: 3.984 kB / 488.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2763, allocations: 124.2 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2763, allocations: 3.938 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2763, allocations: 4 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2763, allocations: 0 / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2764, allocations: 35.91 kB / 488.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.2768, allocations: 365.9 kB / 489 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.277, allocations: 67.78 kB / 489.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.277, allocations: 4.062 kB / 489.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.277, allocations: 46.44 kB / 489.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.277, allocations: 0 / 489.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002841/0.2773, allocations: 93.5 kB / 489.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.2774, allocations: 115.2 kB / 489.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.2775, allocations: 121.2 kB / 489.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2775, allocations: 29.7 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.2776, allocations: 88.14 kB / 489.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.2776, allocations: 11.83 kB / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2776, allocations: 0 / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.2777, allocations: 314.8 kB / 489.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.2778, allocations: 15.98 kB / 489.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.2778, allocations: 39.42 kB / 489.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.2779, allocations: 16 kB / 489.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2779, allocations: 0 / 489.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.278, allocations: 77.56 kB / 490 MB, free: 9.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2781, allocations: 8 kB / 490 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2781, allocations: 0 / 490 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2781, allocations: 0 / 490 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.937e-05/0.2781, allocations: 15.92 kB / 490 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2781, allocations: 0 / 490 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.2782, allocations: 4 kB / 490 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2782, allocations: 4.125 kB / 490 MB, free: 9.711 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 8.191e-05/0.2783, allocations: 121.8 kB / 490.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.2784, allocations: 53.56 kB / 490.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.2784, allocations: 11.86 kB / 490.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2784, allocations: 4 kB / 490.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2784, allocations: 7.938 kB / 490.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2784, allocations: 0 / 490.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2786, allocations: 173.6 kB / 490.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2787, allocations: 4.031 kB / 490.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.2787, allocations: 7.984 kB / 490.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2787, allocations: 3.953 kB / 490.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2787, allocations: 0 / 490.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2787, allocations: 4 kB / 490.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2787, allocations: 0 / 490.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.279, allocations: 282.8 kB / 490.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.2791, allocations: 100.9 kB / 490.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.2791, allocations: 0 / 490.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.2792, allocations: 7.984 kB / 490.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2792, allocations: 4 kB / 490.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2792, allocations: 0 / 490.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.2793, allocations: 113.8 kB / 490.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2793, allocations: 0 / 490.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.2796, allocations: 8 kB / 490.9 MB, free: 8.703 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 9.768e-05/0.2797, allocations: 99.25 kB / 491 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.2798, allocations: 44.23 kB / 491.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2798, allocations: 0 / 491.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.2799, allocations: 16 kB / 491.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2802, allocations: 30.14 kB / 491.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.2805, allocations: 198.6 kB / 491.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2807, allocations: 0.6926 MB / 492 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.2808, allocations: 8.172 kB / 492 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.2808, allocations: 7.438 kB / 492 MB, free: 7.543 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2808, allocations: 0 / 492 MB, free: 7.543 MB / 362.7 MB Notification: Performance of Templates: time 0.002211/0.283, allocations: 0.5264 MB / 492.5 MB, free: 7.039 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches