Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 202.6 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008211/0.0008211, allocations: 96.58 kB / 297.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002341, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1909, allocations: 51.28 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08694/0.2779, allocations: 77.71 MB / 486.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.2782, allocations: 78.73 kB / 486.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004949/0.2831, allocations: 1.83 MB / 488.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2831, allocations: 0 / 488.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2832, allocations: 0 / 488.3 MB, free: 12.01 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.0003603/0.2835, allocations: 387.1 kB / 488.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2836, allocations: 8.031 kB / 488.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2838, allocations: 32.83 kB / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.284, allocations: 208.5 kB / 488.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.284, allocations: 8.375 kB / 488.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.284, allocations: 384 / 488.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.2843, allocations: 142.4 kB / 489 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2843, allocations: 192 / 489 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2843, allocations: 3.938 kB / 489.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2843, allocations: 4 kB / 489.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.2845, allocations: 47.97 kB / 489.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.2849, allocations: 377.9 kB / 489.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.285, allocations: 87.7 kB / 489.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.2851, allocations: 38.62 kB / 489.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2852, allocations: 7.984 kB / 489.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2852, allocations: 34.56 kB / 489.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2852, allocations: 0 / 489.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003621/0.2856, allocations: 133.7 kB / 489.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2856, allocations: 106.8 kB / 489.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2857, allocations: 149.3 kB / 490 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2858, allocations: 25.7 kB / 490 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.2858, allocations: 92.14 kB / 490.1 MB, free: 9.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.2858, allocations: 3.906 kB / 490.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2858, allocations: 4.094 kB / 490.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.2859, allocations: 322.8 kB / 490.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.884e-05/0.286, allocations: 19.98 kB / 490.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.2861, allocations: 47.41 kB / 490.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2862, allocations: 76.56 kB / 490.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2863, allocations: 7.938 kB / 490.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002024/0.2865, allocations: 97.44 kB / 490.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2865, allocations: 11.94 kB / 490.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2865, allocations: 0 / 490.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2865, allocations: 0 / 490.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.2866, allocations: 16.12 kB / 490.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2866, allocations: 3.984 kB / 490.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.2867, allocations: 8 kB / 490.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2867, allocations: 0 / 490.7 MB, free: 9.254 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 8.182e-05/0.2868, allocations: 125.8 kB / 490.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.2869, allocations: 53.53 kB / 490.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.2869, allocations: 15.81 kB / 490.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2869, allocations: 8.031 kB / 490.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2869, allocations: 0 / 490.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2869, allocations: 0 / 490.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.2872, allocations: 193.4 kB / 491.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2872, allocations: 0 / 491.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.2872, allocations: 11.98 kB / 491.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2873, allocations: 4 kB / 491.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2873, allocations: 0 / 491.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2873, allocations: 0 / 491.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2873, allocations: 4 kB / 491.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2875, allocations: 279.4 kB / 491.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.2876, allocations: 101 kB / 491.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2876, allocations: 0 / 491.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2878, allocations: 4 kB / 491.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2878, allocations: 12.12 kB / 491.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2878, allocations: 0 / 491.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.2879, allocations: 119.9 kB / 491.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2879, allocations: 0 / 491.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000253/0.2881, allocations: 12 kB / 491.7 MB, free: 8.219 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.776e-05/0.2882, allocations: 103.2 kB / 491.8 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.2884, allocations: 59.89 kB / 491.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2885, allocations: 0 / 491.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.2885, allocations: 32.17 kB / 491.9 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2889, allocations: 33.73 kB / 491.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.2893, allocations: 257.4 kB / 492.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2896, allocations: 0.6965 MB / 492.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2896, allocations: 11.42 kB / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2896, allocations: 0 / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of Templates: time 0.00195/0.2916, allocations: 0.9557 MB / 493.8 MB, free: 6.016 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches