Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008715/0.0008715, allocations: 95.66 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.083e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 51.48 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4672, allocations: 76.84 MB / 472 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.4676, allocations: 76.2 kB / 472.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003773/0.4714, allocations: 1.591 MB / 473.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4714, allocations: 4 kB / 473.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.4714, allocations: 4 kB / 473.7 MB, free: 13.48 MB / 346.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.0002657/0.4717, allocations: 355.9 kB / 474 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4718, allocations: 12.03 kB / 474 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.4718, allocations: 11.81 kB / 474.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.472, allocations: 192.7 kB / 474.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.472, allocations: 4 kB / 474.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.472, allocations: 8.406 kB / 474.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/0.4721, allocations: 37.17 kB / 474.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.4725, allocations: 188.1 kB / 474.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4725, allocations: 3.953 kB / 474.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4725, allocations: 0.5625 kB / 474.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4725, allocations: 0 / 474.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.4726, allocations: 155 kB / 474.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4728, allocations: 119.3 kB / 474.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.4729, allocations: 70.67 kB / 474.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.4729, allocations: 0 / 474.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.473, allocations: 35.12 kB / 474.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.473, allocations: 0 / 474.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001974/0.4732, allocations: 107.2 kB / 475 MB, free: 12.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4732, allocations: 64.42 kB / 475 MB, free: 12.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.4733, allocations: 130.4 kB / 475.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.4733, allocations: 25.7 kB / 475.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.4734, allocations: 92.36 kB / 475.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.4734, allocations: 12.94 kB / 475.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4734, allocations: 0 / 475.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.4734, allocations: 330.4 kB / 475.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.4735, allocations: 16.3 kB / 475.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.4735, allocations: 112.8 kB / 475.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.4736, allocations: 35.78 kB / 475.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4736, allocations: 0 / 475.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002/0.4738, allocations: 130.3 kB / 475.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4738, allocations: 4.75 kB / 475.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4738, allocations: 4 kB / 475.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4739, allocations: 8 kB / 475.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.964e-05/0.4739, allocations: 13.16 kB / 475.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4739, allocations: 6.359 kB / 475.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.474, allocations: 7.938 kB / 475.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.474, allocations: 8 kB / 475.9 MB, free: 11.29 MB / 346.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 () * 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 6.445e-05/0.4741, allocations: 125.6 kB / 476.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4742, allocations: 102.7 kB / 476.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.4742, allocations: 16.83 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4742, allocations: 4.609 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4743, allocations: 1.969 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4743, allocations: 3.703 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.689e-05/0.4743, allocations: 154.9 kB / 476.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4743, allocations: 0 / 476.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.4744, allocations: 5.547 kB / 476.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4744, allocations: 0 / 476.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.4744, allocations: 4 kB / 476.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4744, allocations: 0 / 476.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4744, allocations: 4.734 kB / 476.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.4745, allocations: 147.2 kB / 476.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.4746, allocations: 97.91 kB / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4746, allocations: 0.6094 kB / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.748e-05/0.4746, allocations: 0 / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.4747, allocations: 0 / 476.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4747, allocations: 11.84 kB / 476.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.398e-05/0.4747, allocations: 103.4 kB / 476.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4747, allocations: 3.938 kB / 476.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.4749, allocations: 8 kB / 476.7 MB, free: 10.54 MB / 346.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 () * 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.0001048/0.4751, allocations: 101 kB / 476.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4752, allocations: 90.8 kB / 476.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4752, allocations: 0 / 476.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.4752, allocations: 6.516 kB / 476.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4755, allocations: 69.78 kB / 477 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.4758, allocations: 158.9 kB / 477.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.476, allocations: 0.7129 MB / 477.8 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.476, allocations: 11.88 kB / 477.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.476, allocations: 11.44 kB / 477.9 MB, free: 9.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.476, allocations: 0 / 477.9 MB, free: 9.43 MB / 346.7 MB Notification: Performance of Templates: time 0.002769/0.4788, allocations: 0.865 MB / 478.7 MB, free: 8.941 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches