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.0009774/0.0009774, allocations: 201.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008183/0.0008183, allocations: 102 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001916/0.0001916, allocations: 8 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1718, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08168/0.2536, allocations: 77.78 MB / 487.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.2538, allocations: 80.89 kB / 487.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004793/0.2586, allocations: 1.832 MB / 489.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2586, allocations: 0 / 489.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2586, allocations: 0 / 489.1 MB, free: 10.93 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.0003761/0.259, allocations: 386.9 kB / 489.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2591, allocations: 8.031 kB / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.2593, allocations: 39.78 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2594, allocations: 195.8 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2595, allocations: 8 kB / 489.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.2595, allocations: 11.94 kB / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.2598, allocations: 129.8 kB / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2598, allocations: 0 / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2598, allocations: 4 kB / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2598, allocations: 0 / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2599, allocations: 55.91 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.2604, allocations: 385.8 kB / 490.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2605, allocations: 79.78 kB / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.2605, allocations: 0 / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2606, allocations: 38.62 kB / 490.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2606, allocations: 0 / 490.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000336/0.2609, allocations: 121.8 kB / 490.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.261, allocations: 114.8 kB / 490.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2611, allocations: 138.1 kB / 490.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.2611, allocations: 25.7 kB / 490.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.2612, allocations: 100 kB / 490.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.2612, allocations: 0 / 490.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.2612, allocations: 0 / 490.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.2613, allocations: 318.8 kB / 491.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.2614, allocations: 27.97 kB / 491.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.2614, allocations: 43.42 kB / 491.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.2615, allocations: 31.98 kB / 491.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2615, allocations: 0 / 491.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001808/0.2617, allocations: 101.4 kB / 491.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2617, allocations: 8.125 kB / 491.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2617, allocations: 3.984 kB / 491.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2618, allocations: 4 kB / 491.4 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.2619, allocations: 11.98 kB / 491.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2619, allocations: 4 kB / 491.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.2619, allocations: 4 kB / 491.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2619, allocations: 7.984 kB / 491.5 MB, free: 8.301 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: 0 () * 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 7.402e-05/0.262, allocations: 117.8 kB / 491.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.2621, allocations: 65.39 kB / 491.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.2622, allocations: 19.81 kB / 491.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2622, allocations: 3.984 kB / 491.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2622, allocations: 0 / 491.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2622, allocations: 0 / 491.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2624, allocations: 185.6 kB / 491.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2624, allocations: 0 / 491.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.2625, allocations: 12 kB / 491.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2625, allocations: 15.91 kB / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2625, allocations: 0 / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2625, allocations: 4 kB / 491.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2625, allocations: 0 / 491.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2628, allocations: 303 kB / 492.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.2629, allocations: 93.03 kB / 492.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2629, allocations: 4 kB / 492.3 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.263, allocations: 11.98 kB / 492.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.2631, allocations: 0 / 492.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2631, allocations: 8 kB / 492.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.2631, allocations: 115.1 kB / 492.4 MB, free: 7.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2632, allocations: 0 / 492.4 MB, free: 7.242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.2634, allocations: 15.98 kB / 492.4 MB, free: 7.227 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: 0 () * 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.943e-05/0.2635, allocations: 95.25 kB / 492.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2637, allocations: 61.12 kB / 492.6 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2637, allocations: 0 / 492.6 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.2638, allocations: 23.98 kB / 492.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.264, allocations: 37.95 kB / 492.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.2644, allocations: 227.1 kB / 492.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.2647, allocations: 0.7004 MB / 493.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.2648, allocations: 12.17 kB / 493.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.2648, allocations: 11.44 kB / 493.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2648, allocations: 0 / 493.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of Templates: time 0.002243/0.267, allocations: 0.6045 MB / 494.2 MB, free: 5.41 MB / 362.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