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.0009232/0.0009234, allocations: 102.3 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 200.5 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 4 kB / 307.1 MB, free: 1.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1361, allocations: 51.53 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001367/0.1376, allocations: 0.5979 MB / 359.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.138, allocations: 143.6 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.138, allocations: 0 / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.49e-05/0.1382, allocations: 3.938 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.1383, allocations: 11.92 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1385, allocations: 43.89 kB / 359.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1386, allocations: 55.84 kB / 359.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1388, allocations: 36.38 kB / 359.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.1388, allocations: 19.92 kB / 359.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.1389, allocations: 19.86 kB / 359.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1389, allocations: 4 kB / 359.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.1389, allocations: 0 / 359.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.139, allocations: 19.91 kB / 359.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.139, allocations: 41.64 kB / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.737e-05/0.1392, allocations: 51.89 kB / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1392, allocations: 0 / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1392, allocations: 7.938 kB / 359.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1392, allocations: 0 / 359.7 MB, free: 12.56 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.0004478/0.1396, allocations: 379.3 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1397, allocations: 8.031 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1397, allocations: 15.81 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.14, allocations: 194.8 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.14, allocations: 8 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.14, allocations: 7.953 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.1404, allocations: 217.7 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1405, allocations: 0 / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1405, allocations: 4 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1405, allocations: 3.953 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.1406, allocations: 39.97 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.1407, allocations: 185.6 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.141, allocations: 127 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1411, allocations: 82.88 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1411, allocations: 4 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1412, allocations: 42.5 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1412, allocations: 0 / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002874/0.1414, allocations: 157.3 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.1415, allocations: 67.36 kB / 361.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1417, allocations: 141.8 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1417, allocations: 29.7 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.1417, allocations: 84.47 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1417, allocations: 15.89 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1418, allocations: 0 / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1419, allocations: 326.8 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.1419, allocations: 16 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.142, allocations: 120.1 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/0.1421, allocations: 43.94 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1421, allocations: 0 / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001943/0.1423, allocations: 157.5 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1423, allocations: 7.984 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1423, allocations: 4 kB / 362.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1424, allocations: 4 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.04e-05/0.1424, allocations: 12 kB / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1424, allocations: 7.938 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.1425, allocations: 11.86 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1425, allocations: 8 kB / 362.2 MB, free: 9.812 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,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.0001441/0.1426, allocations: 149.9 kB / 362.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.1428, allocations: 116.3 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.1428, allocations: 17.19 kB / 362.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1429, allocations: 0 / 362.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1429, allocations: 0 / 362.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1429, allocations: 7.984 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.143, allocations: 193.5 kB / 362.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.143, allocations: 0 / 362.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.143, allocations: 3.938 kB / 362.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.143, allocations: 8 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1431, allocations: 4 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1431, allocations: 0 / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1431, allocations: 0 / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1433, allocations: 152.9 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1433, allocations: 104.8 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1434, allocations: 0 / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.1434, allocations: 4 kB / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-06/0.1434, allocations: 4 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1434, allocations: 7.938 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.1435, allocations: 107.2 kB / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1435, allocations: 0 / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1437, allocations: 16 kB / 363 MB, free: 8.832 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 (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.000134/0.1439, allocations: 108.3 kB / 363.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1441, allocations: 91.91 kB / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1441, allocations: 0 / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1441, allocations: 4 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1445, allocations: 83.88 kB / 363.3 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1449, allocations: 242.5 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1452, allocations: 0.7203 MB / 364.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.1452, allocations: 12.42 kB / 364.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1453, allocations: 11.44 kB / 364.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1453, allocations: 4 kB / 364.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Templates: time 0.003345/0.1486, allocations: 0.8925 MB / 365.2 MB, free: 6.617 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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