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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002753, allocations: 8 kB / 308.4 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09448, allocations: 51.53 MB / 359.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001214/0.09574, allocations: 0.6178 MB / 360.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.09611, allocations: 127.6 kB / 360.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.09621, allocations: 0 / 360.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.158e-05/0.09631, allocations: 11.92 kB / 360.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.0964, allocations: 7.938 kB / 360.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.09664, allocations: 39.89 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.09675, allocations: 59.84 kB / 360.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.09689, allocations: 40.19 kB / 360.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.09693, allocations: 19.92 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.09699, allocations: 27.8 kB / 360.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.09701, allocations: 4 kB / 360.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.09703, allocations: 3.938 kB / 360.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.0971, allocations: 15.92 kB / 360.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.09716, allocations: 61.44 kB / 361 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.936e-05/0.09726, allocations: 55.89 kB / 361 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09727, allocations: 0 / 361 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09727, allocations: 0 / 361 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.09728, allocations: 0 / 361 MB, free: 11.94 MB / 302.1 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.0003675/0.09765, allocations: 371.5 kB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.09769, allocations: 16.03 kB / 361.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.09774, allocations: 16.75 kB / 361.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.09794, allocations: 204.1 kB / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.09796, allocations: 4.375 kB / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.09798, allocations: 16.36 kB / 361.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.09838, allocations: 217.9 kB / 361.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.0984, allocations: 192 / 361.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.09842, allocations: 7.938 kB / 361.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09843, allocations: 4 kB / 361.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.09851, allocations: 35.98 kB / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.09867, allocations: 189.5 kB / 362.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.0989, allocations: 126.6 kB / 362.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.09902, allocations: 81.2 kB / 362.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.09904, allocations: 0 / 362.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.09907, allocations: 34.55 kB / 362.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.09908, allocations: 4 kB / 362.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002728/0.09935, allocations: 153.4 kB / 362.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.09942, allocations: 70.27 kB / 362.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.09955, allocations: 148.4 kB / 362.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.09957, allocations: 29.7 kB / 362.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.09962, allocations: 84.45 kB / 362.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.09965, allocations: 11.91 kB / 362.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.09969, allocations: 29.7 kB / 362.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.0998, allocations: 318.8 kB / 363.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.09984, allocations: 19.98 kB / 363.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.09994, allocations: 121.7 kB / 363.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1001, allocations: 149.5 kB / 363.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1001, allocations: 4 kB / 363.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002144/0.1003, allocations: 149.2 kB / 363.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1004, allocations: 11.94 kB / 363.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.1004, allocations: 7.938 kB / 363.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1004, allocations: 12.38 kB / 363.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.888e-05/0.1004, allocations: 11.98 kB / 363.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.1004, allocations: 11.94 kB / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1005, allocations: 15.91 kB / 363.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1005, allocations: 12 kB / 363.6 MB, free: 8.973 MB / 302.1 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,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1007, allocations: 137.7 kB / 363.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1008, allocations: 121.5 kB / 363.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1009, allocations: 13.19 kB / 363.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1009, allocations: 4 kB / 363.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1009, allocations: 4 kB / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1009, allocations: 0 / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.101, allocations: 185.5 kB / 364.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.101, allocations: 0 / 364.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.1011, allocations: 15.92 kB / 364.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.1011, allocations: 3.938 kB / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1011, allocations: 0 / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1011, allocations: 4 kB / 364.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1011, allocations: 0 / 364.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1013, allocations: 149 kB / 364.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1014, allocations: 96.98 kB / 364.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1014, allocations: 11.94 kB / 364.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.1014, allocations: 0 / 364.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-06/0.1014, allocations: 3.984 kB / 364.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1014, allocations: 4 kB / 364.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.1015, allocations: 109.4 kB / 364.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1015, allocations: 0 / 364.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1017, allocations: 16 kB / 364.5 MB, free: 8.008 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.1019, allocations: 112.3 kB / 364.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.102, allocations: 95.78 kB / 364.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.102, allocations: 1 kB / 364.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.1021, allocations: 0 / 364.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1024, allocations: 87.17 kB / 364.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1028, allocations: 284.8 kB / 365.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1031, allocations: 0.7165 MB / 365.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.1032, allocations: 11.44 kB / 365.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1032, allocations: 0 / 365.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Templates: time 0.002729/0.1059, allocations: 1.188 MB / 367 MB, free: 5.453 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches