Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 203.1 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007217/0.0007217, allocations: 94 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002183/0.0002185, allocations: 4 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2178, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09337/0.3112, allocations: 77.44 MB / 486.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.3115, allocations: 75.95 kB / 486.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00432/0.3159, allocations: 1.653 MB / 487.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3159, allocations: 0 / 487.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3159, allocations: 4 kB / 487.8 MB, free: 12.46 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004066/0.3163, allocations: 387.1 kB / 488.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3164, allocations: 8.031 kB / 488.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3164, allocations: 16.75 kB / 488.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3167, allocations: 203.4 kB / 488.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3167, allocations: 12.38 kB / 488.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3167, allocations: 12.38 kB / 488.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.3171, allocations: 213.2 kB / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3171, allocations: 0 / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3171, allocations: 0 / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3172, allocations: 11.94 kB / 488.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.3172, allocations: 31.98 kB / 488.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.3174, allocations: 189.5 kB / 488.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3176, allocations: 126.7 kB / 489 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3177, allocations: 80.95 kB / 489.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3177, allocations: 0 / 489.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3178, allocations: 38.5 kB / 489.1 MB, free: 11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.3178, allocations: 4 kB / 489.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002659/0.3181, allocations: 141.1 kB / 489.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3181, allocations: 67.34 kB / 489.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3182, allocations: 146.4 kB / 489.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3183, allocations: 25.7 kB / 489.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3183, allocations: 92.47 kB / 489.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3183, allocations: 15.89 kB / 489.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3184, allocations: 0 / 489.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3185, allocations: 322.8 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.3185, allocations: 31.86 kB / 490 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.3186, allocations: 111.9 kB / 490.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3188, allocations: 146.7 kB / 490.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3188, allocations: 7.938 kB / 490.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000195/0.319, allocations: 157.3 kB / 490.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.319, allocations: 8 kB / 490.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.319, allocations: 4 kB / 490.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.319, allocations: 7.984 kB / 490.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3191, allocations: 31.92 kB / 490.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3192, allocations: 4 kB / 490.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.3192, allocations: 19.84 kB / 490.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3192, allocations: 8.406 kB / 490.5 MB, free: 9.516 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.288e-05/0.3193, allocations: 137.7 kB / 490.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3195, allocations: 125.4 kB / 490.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3195, allocations: 13.19 kB / 490.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3195, allocations: 4 kB / 490.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3196, allocations: 0 / 490.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3196, allocations: 7.875 kB / 490.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.3197, allocations: 189.6 kB / 490.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3197, allocations: 0 / 490.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.3198, allocations: 23.98 kB / 491 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3198, allocations: 4 kB / 491 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3198, allocations: 4 kB / 491 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3198, allocations: 7.984 kB / 491 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3198, allocations: 4 kB / 491 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.32, allocations: 156.7 kB / 491.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.3201, allocations: 100.9 kB / 491.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3201, allocations: 0 / 491.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.3201, allocations: 4 kB / 491.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-06/0.3201, allocations: 8 kB / 491.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3202, allocations: 0 / 491.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.3202, allocations: 113.5 kB / 491.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3202, allocations: 0 / 491.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.3205, allocations: 20 kB / 491.4 MB, free: 8.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001433/0.3206, allocations: 99.25 kB / 491.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3208, allocations: 91.33 kB / 491.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3208, allocations: 0 / 491.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3208, allocations: 4 kB / 491.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3212, allocations: 83.88 kB / 491.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.3216, allocations: 294 kB / 491.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3219, allocations: 0.7204 MB / 492.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3219, allocations: 11.44 kB / 492.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3219, allocations: 3.938 kB / 492.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of Templates: time 0.002624/0.3245, allocations: 1.186 MB / 493.9 MB, free: 5.965 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches