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.002367/0.002367, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.933/1.933, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008948/0.0008949, allocations: 85.53 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.463e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09503, allocations: 51.5 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/0.4296, allocations: 77.12 MB / 479.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4299, allocations: 77.89 kB / 479.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002872/0.4328, allocations: 1.22 MB / 480.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4328, allocations: 0 / 480.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4328, allocations: 0 / 480.5 MB, free: 11.16 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.0002975/0.4331, allocations: 347.5 kB / 480.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4332, allocations: 8.031 kB / 480.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.4332, allocations: 7.281 kB / 480.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4334, allocations: 191 kB / 481 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4334, allocations: 0.8594 kB / 481 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.4334, allocations: 4 kB / 481 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.4336, allocations: 119.8 kB / 481.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4337, allocations: 4 kB / 481.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4337, allocations: 0.7969 kB / 481.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4337, allocations: 0 / 481.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.4337, allocations: 15.19 kB / 481.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4341, allocations: 373.7 kB / 481.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.4342, allocations: 71.78 kB / 481.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.4342, allocations: 27.61 kB / 481.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4342, allocations: 0 / 481.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.4342, allocations: 30.56 kB / 481.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.4342, allocations: 2.672 kB / 481.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001784/0.4344, allocations: 76.39 kB / 481.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.4345, allocations: 106.8 kB / 481.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.4346, allocations: 129 kB / 481.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.4346, allocations: 29.58 kB / 482 MB, free: 9.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.4346, allocations: 86.94 kB / 482 MB, free: 9.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.4346, allocations: 4 kB / 482 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.4346, allocations: 0 / 482 MB, free: 9.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.4347, allocations: 318.9 kB / 482.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.4347, allocations: 4 kB / 482.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.4347, allocations: 37.48 kB / 482.4 MB, free: 9.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.4348, allocations: 8 kB / 482.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4348, allocations: 0 / 482.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.424e-05/0.4349, allocations: 80.55 kB / 482.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4349, allocations: 9.859 kB / 482.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4349, allocations: 0 / 482.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4349, allocations: 4 kB / 482.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.681e-05/0.4349, allocations: 2.25 kB / 482.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4349, allocations: 4 kB / 482.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.435, allocations: 0 / 482.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.435, allocations: 4 kB / 482.5 MB, free: 8.934 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.799e-05/0.435, allocations: 113.1 kB / 482.6 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.4351, allocations: 57.92 kB / 482.7 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.4352, allocations: 16.64 kB / 482.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4352, allocations: 0 / 482.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4352, allocations: 0 / 482.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4352, allocations: 4 kB / 482.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4354, allocations: 167.8 kB / 482.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4354, allocations: 5 kB / 482.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.4354, allocations: 0 / 482.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4354, allocations: 7.984 kB / 482.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4354, allocations: 4 kB / 482.9 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4354, allocations: 0 / 482.9 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.4354, allocations: 0 / 482.9 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.4356, allocations: 273.2 kB / 483.1 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.4356, allocations: 94.72 kB / 483.2 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4356, allocations: 1 kB / 483.2 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.4357, allocations: 4 kB / 483.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.4358, allocations: 10.61 kB / 483.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.4358, allocations: 1.078 kB / 483.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.4358, allocations: 108.1 kB / 483.4 MB, free: 8.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4358, allocations: 0 / 483.4 MB, free: 8.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000248/0.4361, allocations: 7.5 kB / 483.4 MB, free: 8.023 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.713e-05/0.4362, allocations: 104.4 kB / 483.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.337e-05/0.4363, allocations: 30.55 kB / 483.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4363, allocations: 0 / 483.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.836e-05/0.4363, allocations: 7.938 kB / 483.5 MB, free: 7.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4366, allocations: 28.5 kB / 483.5 MB, free: 7.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.4368, allocations: 121.7 kB / 483.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.437, allocations: 0.6999 MB / 484.4 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.437, allocations: 8.172 kB / 484.4 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.437, allocations: 11.44 kB / 484.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.437, allocations: 0 / 484.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of Templates: time 0.002379/0.4394, allocations: 0.5425 MB / 484.9 MB, free: 6.492 MB / 346.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