Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 199.4 kB / 18.06 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 245.3 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 99.38 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2129, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09096/0.3039, allocations: 77.14 MB / 485.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3042, allocations: 76.52 kB / 485.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003404/0.3076, allocations: 1.327 MB / 487.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3076, allocations: 1.219 kB / 487.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3077, allocations: 0 / 487.2 MB, free: 13.06 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.0003704/0.308, allocations: 376.4 kB / 487.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3081, allocations: 13.22 kB / 487.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3081, allocations: 8.844 kB / 487.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.3083, allocations: 199.3 kB / 487.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3084, allocations: 5.344 kB / 487.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3084, allocations: 8.312 kB / 487.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.3087, allocations: 138.4 kB / 487.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3087, allocations: 192 / 487.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3087, allocations: 3.938 kB / 487.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3087, allocations: 0 / 487.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3088, allocations: 47.91 kB / 488 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3093, allocations: 381.9 kB / 488.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3094, allocations: 75.72 kB / 488.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.3095, allocations: 42.62 kB / 488.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3096, allocations: 0 / 488.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3096, allocations: 38.5 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3096, allocations: 0 / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003309/0.3099, allocations: 117.6 kB / 488.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.31, allocations: 110.8 kB / 488.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3101, allocations: 138.1 kB / 488.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3102, allocations: 33.7 kB / 488.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.3102, allocations: 88.12 kB / 489 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.3102, allocations: 3.906 kB / 489 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.3102, allocations: 8 kB / 489 MB, free: 11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3104, allocations: 310.8 kB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.3104, allocations: 23.92 kB / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.3105, allocations: 51.41 kB / 489.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3106, allocations: 67.34 kB / 489.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3107, allocations: 3.938 kB / 489.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001754/0.3108, allocations: 93.61 kB / 489.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3109, allocations: 4 kB / 489.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3109, allocations: 0 / 489.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3109, allocations: 4 kB / 489.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.311, allocations: 11.98 kB / 489.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.311, allocations: 4 kB / 489.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.311, allocations: 11.92 kB / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3111, allocations: 4 kB / 489.6 MB, free: 10.39 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 9.33e-05/0.3112, allocations: 133.7 kB / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.3112, allocations: 49.59 kB / 489.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.3113, allocations: 15.86 kB / 489.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3113, allocations: 0 / 489.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3113, allocations: 0 / 489.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3113, allocations: 4 kB / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3115, allocations: 173.6 kB / 489.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3115, allocations: 0 / 489.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.3116, allocations: 24.02 kB / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3116, allocations: 0 / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3116, allocations: 0 / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3116, allocations: 0 / 490 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3117, allocations: 7.938 kB / 490 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3119, allocations: 267.5 kB / 490.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.312, allocations: 93 kB / 490.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.312, allocations: 0 / 490.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3121, allocations: 11.98 kB / 490.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3121, allocations: 4 kB / 490.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3122, allocations: 4 kB / 490.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.3122, allocations: 114.5 kB / 490.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3122, allocations: 0 / 490.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.3125, allocations: 4 kB / 490.5 MB, free: 9.391 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 0.0001165/0.3126, allocations: 107.1 kB / 490.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.3128, allocations: 60.08 kB / 490.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3128, allocations: 3.938 kB / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/0.3129, allocations: 19.92 kB / 490.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3133, allocations: 29.52 kB / 490.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.3136, allocations: 225.6 kB / 490.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3139, allocations: 0.7043 MB / 491.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.314, allocations: 7.438 kB / 491.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.314, allocations: 0 / 491.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of Templates: time 0.001987/0.316, allocations: 0.8454 MB / 492.5 MB, free: 7.332 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches