Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 60.41 kB / 306.9 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1306, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00344/0.1341, allocations: 0.8814 MB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.1346, allocations: 151.5 kB / 358.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1347, allocations: 4 kB / 358.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1349, allocations: 15.86 kB / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.135, allocations: 15.86 kB / 358.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1353, allocations: 47.88 kB / 358.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1354, allocations: 67.78 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.1356, allocations: 47.97 kB / 358.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.1357, allocations: 23.92 kB / 358.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1358, allocations: 43.77 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.1358, allocations: 8 kB / 358.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.1359, allocations: 4 kB / 358.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.136, allocations: 31.92 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.136, allocations: 43.67 kB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1362, allocations: 91.64 kB / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1362, allocations: 0 / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1362, allocations: 0 / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1362, allocations: 0 / 358.9 MB, free: 12.62 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.0006824/0.1369, allocations: 415.2 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.137, allocations: 12.03 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.1371, allocations: 12.75 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1374, allocations: 212 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1374, allocations: 8.375 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1374, allocations: 8.375 kB / 359.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.138, allocations: 238 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.138, allocations: 192 / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.138, allocations: 11.88 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1381, allocations: 0 / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1382, allocations: 47.97 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.1384, allocations: 193.5 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1387, allocations: 150.9 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1388, allocations: 84.81 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1389, allocations: 4 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1389, allocations: 34.56 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1389, allocations: 0 / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003423/0.1392, allocations: 180.2 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.1393, allocations: 59.41 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1395, allocations: 169.2 kB / 360.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1395, allocations: 29.7 kB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1396, allocations: 96.47 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1396, allocations: 3.984 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.1397, allocations: 45.61 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1399, allocations: 318.8 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.1399, allocations: 23.98 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.14, allocations: 124.8 kB / 361.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1402, allocations: 153.5 kB / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1402, allocations: 0 / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002447/0.1405, allocations: 165.2 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1405, allocations: 8 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.1405, allocations: 7.938 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1405, allocations: 7.938 kB / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1407, allocations: 27.98 kB / 361.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.1407, allocations: 11.94 kB / 361.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.1408, allocations: 16.34 kB / 361.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1408, allocations: 12 kB / 361.8 MB, free: 9.473 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001539/0.141, allocations: 145.7 kB / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.1412, allocations: 137.4 kB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.1412, allocations: 21.12 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1412, allocations: 0 / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1412, allocations: 0 / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1413, allocations: 0 / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1414, allocations: 193.6 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1414, allocations: 4 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.1415, allocations: 31.92 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1416, allocations: 0 / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1416, allocations: 11.88 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1416, allocations: 0 / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1416, allocations: 4 kB / 362.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1418, allocations: 163.7 kB / 362.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.1419, allocations: 109 kB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1419, allocations: 3.938 kB / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.142, allocations: 4 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-06/0.142, allocations: 4 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.142, allocations: 0 / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.1421, allocations: 123.1 kB / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1421, allocations: 0 / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1424, allocations: 16 kB / 362.7 MB, free: 8.418 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0001422/0.1425, allocations: 120.3 kB / 362.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1427, allocations: 115.7 kB / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1427, allocations: 0 / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1428, allocations: 0 / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1432, allocations: 88.94 kB / 363 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.1436, allocations: 258.1 kB / 363.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1439, allocations: 0.7162 MB / 364 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.144, allocations: 13.08 kB / 364 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.144, allocations: 15.44 kB / 364 MB, free: 7.031 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.144, allocations: 0 / 364 MB, free: 7.031 MB / 302.1 MB Notification: Performance of Templates: time 0.004219/0.1483, allocations: 1.159 MB / 365.2 MB, free: 5.887 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches