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.001391/0.001391, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 60.69 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1201, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002452/0.1226, allocations: 0.8954 MB / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000375/0.123, allocations: 143.6 kB / 359.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.1231, allocations: 4 kB / 359.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1232, allocations: 11.86 kB / 360 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1233, allocations: 15.88 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1236, allocations: 43.89 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1237, allocations: 67.77 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1239, allocations: 47.97 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.1239, allocations: 31.84 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.124, allocations: 35.84 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1241, allocations: 4 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.1241, allocations: 12 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.1242, allocations: 35.84 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.1242, allocations: 39.69 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1244, allocations: 99.56 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1244, allocations: 0 / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1244, allocations: 7.938 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1244, allocations: 0 / 360.4 MB, free: 11.88 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.0006177/0.125, allocations: 410.9 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1251, allocations: 8.031 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1251, allocations: 20.75 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1254, allocations: 212.1 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1254, allocations: 12.31 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1254, allocations: 8.375 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.1258, allocations: 241.7 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1259, allocations: 192 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1259, allocations: 3.938 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1259, allocations: 4 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.126, allocations: 51.91 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.1262, allocations: 189.6 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1265, allocations: 158.4 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.1266, allocations: 84.91 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1266, allocations: 4 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1267, allocations: 30.56 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1267, allocations: 0 / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003285/0.127, allocations: 177.6 kB / 362 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.1271, allocations: 67.39 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1272, allocations: 158.2 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1273, allocations: 29.7 kB / 362.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1273, allocations: 100.4 kB / 362.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.1274, allocations: 8 kB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1274, allocations: 41.61 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1276, allocations: 322.8 kB / 362.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.1276, allocations: 19.98 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1277, allocations: 121.7 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1279, allocations: 153.5 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1279, allocations: 0 / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000206/0.1281, allocations: 157.2 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1281, allocations: 8 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1281, allocations: 7.938 kB / 363.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1282, allocations: 4.5 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1283, allocations: 39.92 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1283, allocations: 4 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.1284, allocations: 15.84 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1284, allocations: 8 kB / 363.2 MB, free: 8.734 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.0001381/0.1285, allocations: 149.6 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.1287, allocations: 141.3 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.1288, allocations: 25.11 kB / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1288, allocations: 4 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1288, allocations: 0 / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1288, allocations: 4 kB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.129, allocations: 189.6 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.129, allocations: 0 / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1291, allocations: 27.98 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1291, allocations: 0 / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1291, allocations: 3.938 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1291, allocations: 4 kB / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1291, allocations: 3.984 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1294, allocations: 175.9 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.1295, allocations: 97 kB / 364 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1295, allocations: 7.938 kB / 364 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.1295, allocations: 7.984 kB / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-06/0.1295, allocations: 0 / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1296, allocations: 4 kB / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.881e-05/0.1297, allocations: 122.2 kB / 364.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1297, allocations: 0 / 364.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1299, allocations: 20 kB / 364.2 MB, free: 7.668 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.0001653/0.1301, allocations: 108.3 kB / 364.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1303, allocations: 104.5 kB / 364.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1303, allocations: 0 / 364.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1303, allocations: 4.188 kB / 364.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1308, allocations: 102.3 kB / 364.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.1312, allocations: 246.3 kB / 364.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1316, allocations: 0.7162 MB / 365.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.1316, allocations: 9.094 kB / 365.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1316, allocations: 19.38 kB / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1317, allocations: 0 / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of Templates: time 0.004092/0.1358, allocations: 1.159 MB / 366.6 MB, free: 5.16 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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