Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 199.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 226.5 MB / 245.3 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009648/0.0009649, allocations: 99.55 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002222/0.0002223, allocations: 12 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2194, allocations: 51.28 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08595/0.3054, allocations: 77.54 MB / 486.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3057, allocations: 80.7 kB / 486.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004267/0.31, allocations: 1.72 MB / 488 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.31, allocations: 1.594 kB / 488 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.31, allocations: 4 kB / 488 MB, free: 12.25 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.0003585/0.3104, allocations: 399 kB / 488.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3104, allocations: 10 kB / 488.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3105, allocations: 12.84 kB / 488.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3107, allocations: 212.5 kB / 488.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3107, allocations: 8.375 kB / 488.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3107, allocations: 4.375 kB / 488.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.3111, allocations: 244.8 kB / 488.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3111, allocations: 192 / 488.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3111, allocations: 11.94 kB / 488.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3111, allocations: 4 kB / 488.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.3112, allocations: 51.84 kB / 488.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.3114, allocations: 190.6 kB / 489.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3116, allocations: 138.9 kB / 489.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3117, allocations: 85.11 kB / 489.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.3117, allocations: 7.938 kB / 489.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3118, allocations: 34.56 kB / 489.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.3118, allocations: 3.984 kB / 489.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002831/0.3121, allocations: 180.1 kB / 489.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3121, allocations: 59.41 kB / 489.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3122, allocations: 169.2 kB / 489.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3123, allocations: 25.7 kB / 489.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.3123, allocations: 100.5 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3123, allocations: 7.938 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.3123, allocations: 8 kB / 489.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.3124, allocations: 318.8 kB / 490.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.3125, allocations: 19.98 kB / 490.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.3126, allocations: 129.6 kB / 490.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3127, allocations: 150.7 kB / 490.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3127, allocations: 0 / 490.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002009/0.3129, allocations: 161.2 kB / 490.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3129, allocations: 8 kB / 490.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.313, allocations: 7.938 kB / 490.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.313, allocations: 7.984 kB / 490.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3131, allocations: 27.94 kB / 490.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3131, allocations: 15.92 kB / 490.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.3132, allocations: 8.5 kB / 490.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3132, allocations: 12 kB / 490.8 MB, free: 9.168 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: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * 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 0.0001156/0.3133, allocations: 141.8 kB / 490.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3135, allocations: 133.4 kB / 491 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.3135, allocations: 25.06 kB / 491.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3135, allocations: 4 kB / 491.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3135, allocations: 0 / 491.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3136, allocations: 0 / 491.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3137, allocations: 201.5 kB / 491.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3137, allocations: 0 / 491.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3138, allocations: 20 kB / 491.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3138, allocations: 7.922 kB / 491.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3138, allocations: 7.938 kB / 491.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3138, allocations: 0 / 491.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3138, allocations: 3.938 kB / 491.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.314, allocations: 160.2 kB / 491.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.3141, allocations: 108.8 kB / 491.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3142, allocations: 11.94 kB / 491.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.3142, allocations: 7.984 kB / 491.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-06/0.3142, allocations: 0 / 491.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3142, allocations: 4 kB / 491.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.3143, allocations: 119.9 kB / 491.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3143, allocations: 0 / 491.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.3145, allocations: 16 kB / 491.7 MB, free: 8.113 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * 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.0001191/0.3146, allocations: 123.1 kB / 491.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3148, allocations: 95.83 kB / 491.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3148, allocations: 0 / 491.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3148, allocations: 0 / 491.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3152, allocations: 95.03 kB / 492 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.3156, allocations: 301.8 kB / 492.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3158, allocations: 0.7281 MB / 493.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.3158, allocations: 19.44 kB / 493.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.3159, allocations: 0 / 493.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of Templates: time 0.002411/0.3183, allocations: 1.328 MB / 494.4 MB, free: 5.383 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches