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.0009694/0.0009691, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001317, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 7.984 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001366/0.1382, allocations: 0.6134 MB / 359.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003744/0.1386, allocations: 131.6 kB / 360 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1387, allocations: 4 kB / 360 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.1388, allocations: 3.938 kB / 360 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.1389, allocations: 7.922 kB / 360 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1392, allocations: 39.91 kB / 360.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1393, allocations: 63.84 kB / 360.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1395, allocations: 40.19 kB / 360.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.1395, allocations: 11.92 kB / 360.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.1396, allocations: 27.8 kB / 360.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1396, allocations: 4 kB / 360.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.1396, allocations: 4 kB / 360.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.1397, allocations: 19.92 kB / 360.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.1398, allocations: 57.44 kB / 360.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1399, allocations: 75.69 kB / 360.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1399, allocations: 0 / 360.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1399, allocations: 0 / 360.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1399, allocations: 0 / 360.4 MB, free: 12.2 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.0003766/0.1403, allocations: 379.4 kB / 360.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1403, allocations: 8.031 kB / 360.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1404, allocations: 16.75 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1406, allocations: 208.1 kB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1406, allocations: 4.375 kB / 361 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1406, allocations: 8.375 kB / 361 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.141, allocations: 210.1 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.1411, allocations: 192 / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1411, allocations: 15.92 kB / 361.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1411, allocations: 0 / 361.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.1412, allocations: 35.98 kB / 361.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1414, allocations: 189.5 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1416, allocations: 137.3 kB / 361.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1417, allocations: 80.77 kB / 361.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1417, allocations: 0 / 361.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1418, allocations: 38.56 kB / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.1418, allocations: 0 / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002911/0.1421, allocations: 153.4 kB / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.1422, allocations: 67.31 kB / 361.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1423, allocations: 152.1 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1423, allocations: 25.7 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.1424, allocations: 84.47 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1424, allocations: 15.89 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1425, allocations: 29.7 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1426, allocations: 322.8 kB / 362.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.1427, allocations: 12 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.1428, allocations: 127.9 kB / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1429, allocations: 153.5 kB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1429, allocations: 0 / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002288/0.1432, allocations: 157.1 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1432, allocations: 11.94 kB / 363 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1432, allocations: 4 kB / 363 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1432, allocations: 4 kB / 363 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.756e-05/0.1433, allocations: 8.5 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1433, allocations: 15.92 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.1434, allocations: 11.91 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1434, allocations: 12 kB / 363 MB, free: 9.238 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.0001504/0.1435, allocations: 133.7 kB / 363.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1437, allocations: 121.5 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.1438, allocations: 21.17 kB / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1438, allocations: 0 / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1438, allocations: 0 / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1438, allocations: 4 kB / 363.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.144, allocations: 189.5 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.144, allocations: 0 / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.144, allocations: 3.938 kB / 363.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/0.1441, allocations: 3.938 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1441, allocations: 12 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1441, allocations: 0 / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1441, allocations: 3.984 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1443, allocations: 149 kB / 363.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.1444, allocations: 97 kB / 363.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1444, allocations: 3.938 kB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.1444, allocations: 11.92 kB / 363.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.1444, allocations: 0 / 363.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1444, allocations: 4 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.1445, allocations: 105.6 kB / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1445, allocations: 0 / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1448, allocations: 16 kB / 363.9 MB, free: 8.273 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.0001427/0.1449, allocations: 116.3 kB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1451, allocations: 94.59 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1451, allocations: 0 / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1451, allocations: 1 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1455, allocations: 90.89 kB / 364.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.146, allocations: 263.2 kB / 364.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1464, allocations: 0.7125 MB / 365.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.1465, allocations: 16.42 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1465, allocations: 11.44 kB / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1465, allocations: 0 / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of Templates: time 0.003703/0.1502, allocations: 0.9311 MB / 366.1 MB, free: 5.996 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