Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 193.4 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.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008517/0.0008516, allocations: 90.33 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.877e-05, allocations: 4 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 51.49 MB / 395.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6345, allocations: 77.05 MB / 472.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.6349, allocations: 80.05 kB / 472.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008987/0.644, allocations: 1.821 MB / 474.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.644, allocations: 0 / 474.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.644, allocations: 0 / 474.1 MB, free: 13.21 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.000493/0.6445, allocations: 371.5 kB / 474.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.6446, allocations: 8.031 kB / 474.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.645, allocations: 39 kB / 474.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.6453, allocations: 189.9 kB / 474.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.6453, allocations: 4.859 kB / 474.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.6454, allocations: 4 kB / 474.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001566/0.6455, allocations: 32.27 kB / 474.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.6458, allocations: 112.7 kB / 474.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6459, allocations: 0 / 474.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.6459, allocations: 0.7969 kB / 474.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.6459, allocations: 4 kB / 474.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.6465, allocations: 363.2 kB / 475.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.6466, allocations: 60 kB / 475.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.6467, allocations: 31.53 kB / 475.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.6467, allocations: 3.938 kB / 475.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.6468, allocations: 30.56 kB / 475.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.6468, allocations: 4 kB / 475.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003051/0.6471, allocations: 73.05 kB / 475.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.6472, allocations: 103.6 kB / 475.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.6473, allocations: 134.4 kB / 475.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.6473, allocations: 25.7 kB / 475.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.6474, allocations: 97.34 kB / 475.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.6474, allocations: 8.703 kB / 475.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.6475, allocations: 4.094 kB / 475.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.6475, allocations: 315.3 kB / 476.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.6476, allocations: 12.36 kB / 476.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.6477, allocations: 28.77 kB / 476.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.086e-05/0.6477, allocations: 22.17 kB / 476.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6477, allocations: 4 kB / 476.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001728/0.6479, allocations: 64.39 kB / 476.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.648, allocations: 10.02 kB / 476.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.648, allocations: 0 / 476.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.648, allocations: 0 / 476.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.6482, allocations: 15.23 kB / 476.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6482, allocations: 2.25 kB / 476.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.6484, allocations: 13.81 kB / 476.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.6484, allocations: 0.7031 kB / 476.3 MB, free: 11.01 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: 0 () * 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 6.947e-05/0.6485, allocations: 108.5 kB / 476.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6486, allocations: 57.02 kB / 476.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.6487, allocations: 15.97 kB / 476.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6487, allocations: 0 / 476.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.6488, allocations: 4 kB / 476.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.6488, allocations: 0.7031 kB / 476.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.6491, allocations: 158.4 kB / 476.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6491, allocations: 0 / 476.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.6493, allocations: 15.05 kB / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6493, allocations: 0.8438 kB / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.6493, allocations: 3.75 kB / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.6493, allocations: 7.953 kB / 476.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6494, allocations: 3.984 kB / 476.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.6496, allocations: 273.9 kB / 476.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.6497, allocations: 93.8 kB / 477 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.6497, allocations: 5.312 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.65, allocations: 5.406 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.65, allocations: 5.766 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.65, allocations: 8 kB / 477 MB, free: 10.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.921e-05/0.6501, allocations: 114.5 kB / 477.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6502, allocations: 0 / 477.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.6507, allocations: 8 kB / 477.1 MB, free: 10.14 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: 0 () * 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 0.0001217/0.6508, allocations: 100.6 kB / 477.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.651, allocations: 32.3 kB / 477.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.651, allocations: 0 / 477.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.6511, allocations: 16.61 kB / 477.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6515, allocations: 22.94 kB / 477.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.652, allocations: 128.5 kB / 477.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.6522, allocations: 0.7047 MB / 478.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.6523, allocations: 11.03 kB / 478.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.6523, allocations: 12.89 kB / 478.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6523, allocations: 0 / 478.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of Templates: time 0.004026/0.6564, allocations: 0.5634 MB / 478.7 MB, free: 8.812 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches