Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009961/0.000996, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007683/0.0007684, allocations: 102.8 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002167/0.0002168, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.182, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.286, allocations: 77.5 MB / 486.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.2864, allocations: 79.94 kB / 486.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007127/0.2936, allocations: 1.596 MB / 487.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.282e-06/0.2936, allocations: 4 kB / 487.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2937, allocations: 4.875 kB / 487.9 MB, free: 12.43 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.0005053/0.2942, allocations: 375.2 kB / 488.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2942, allocations: 9.062 kB / 488.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.2943, allocations: 12.84 kB / 488.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.2946, allocations: 193.8 kB / 488.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2946, allocations: 8.375 kB / 488.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.2947, allocations: 8.375 kB / 488.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.2953, allocations: 229.1 kB / 488.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2954, allocations: 192 / 488.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.2954, allocations: 7.938 kB / 488.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2954, allocations: 4 kB / 488.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2956, allocations: 31.98 kB / 488.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.2958, allocations: 182.6 kB / 488.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.2962, allocations: 130.8 kB / 489 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.2965, allocations: 80.94 kB / 489.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2965, allocations: 0 / 489.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2966, allocations: 50.48 kB / 489.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2966, allocations: 0 / 489.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004632/0.297, allocations: 152.6 kB / 489.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.2971, allocations: 59.41 kB / 489.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2974, allocations: 140.6 kB / 489.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2974, allocations: 29.64 kB / 489.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.2975, allocations: 92.45 kB / 489.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.2975, allocations: 11.91 kB / 489.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.2976, allocations: 8 kB / 489.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2977, allocations: 318.8 kB / 489.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.2978, allocations: 19.98 kB / 490 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.298, allocations: 121.6 kB / 490.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.2983, allocations: 150.7 kB / 490.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2983, allocations: 0 / 490.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003793/0.2987, allocations: 153.5 kB / 490.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.2987, allocations: 15.92 kB / 490.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.2988, allocations: 4 kB / 490.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.2988, allocations: 4 kB / 490.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.2988, allocations: 11.94 kB / 490.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2989, allocations: 4 kB / 490.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.299, allocations: 8 kB / 490.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.299, allocations: 8 kB / 490.4 MB, free: 9.535 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001886/0.2993, allocations: 141.9 kB / 490.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.2996, allocations: 129.3 kB / 490.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.2997, allocations: 13.19 kB / 490.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2997, allocations: 4 kB / 490.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2997, allocations: 4 kB / 490.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2997, allocations: 3.984 kB / 490.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2999, allocations: 181.6 kB / 490.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2999, allocations: 0 / 490.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.3, allocations: 7.938 kB / 490.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3, allocations: 7.938 kB / 490.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3, allocations: 4 kB / 490.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3, allocations: 0 / 490.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3, allocations: 0 / 490.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.3003, allocations: 148.9 kB / 491.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3005, allocations: 97 kB / 491.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3005, allocations: 3.938 kB / 491.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.3006, allocations: 4 kB / 491.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-06/0.3006, allocations: 4 kB / 491.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3006, allocations: 4 kB / 491.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3007, allocations: 111.2 kB / 491.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3007, allocations: 0 / 491.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004503/0.3012, allocations: 16 kB / 491.3 MB, free: 8.562 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001784/0.3014, allocations: 103.2 kB / 491.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.3017, allocations: 95.2 kB / 491.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3017, allocations: 3.938 kB / 491.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.3018, allocations: 3.938 kB / 491.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.3024, allocations: 86.91 kB / 491.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.3031, allocations: 277.7 kB / 491.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3034, allocations: 0.7126 MB / 492.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3035, allocations: 11.44 kB / 492.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3035, allocations: 0 / 492.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of Templates: time 0.004028/0.3076, allocations: 1.176 MB / 493.8 MB, free: 6.043 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches