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.001886/0.001887, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002418/0.002418, allocations: 200.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.0002139, allocations: 7.984 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1176, allocations: 51.48 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001242/0.1189, allocations: 0.5978 MB / 358.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003584/0.1193, allocations: 147.5 kB / 358.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1194, allocations: 0 / 358.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1195, allocations: 15.88 kB / 358.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1197, allocations: 11.91 kB / 358.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1199, allocations: 43.89 kB / 358.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.12, allocations: 39.91 kB / 358.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1202, allocations: 44.14 kB / 359 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.1202, allocations: 15.92 kB / 359 MB, free: 13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.1203, allocations: 27.84 kB / 359 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1204, allocations: 7.938 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.1204, allocations: 0 / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.1204, allocations: 23.92 kB / 359 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1205, allocations: 41.64 kB / 359.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1206, allocations: 67.88 kB / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1206, allocations: 0 / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1206, allocations: 0 / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1206, allocations: 0 / 359.1 MB, free: 12.83 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.000563/0.1212, allocations: 399.8 kB / 359.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1213, allocations: 8.031 kB / 359.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1213, allocations: 7.906 kB / 359.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1216, allocations: 214.2 kB / 359.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1216, allocations: 11.95 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1216, allocations: 8 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.122, allocations: 241.1 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1221, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1221, allocations: 3.953 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1221, allocations: 4 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.1222, allocations: 51.91 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1224, allocations: 193.6 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1226, allocations: 142.9 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.1227, allocations: 0 / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1227, allocations: 38.64 kB / 360.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.1227, allocations: 0 / 360.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003047/0.123, allocations: 176.1 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.1231, allocations: 67.36 kB / 360.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1232, allocations: 162.1 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1233, allocations: 25.7 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.1233, allocations: 96.45 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1233, allocations: 4 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1234, allocations: 4 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1235, allocations: 330.8 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.1235, allocations: 19.98 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.459e-05/0.1236, allocations: 121.7 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.1237, allocations: 43.92 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1237, allocations: 0 / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002068/0.1239, allocations: 161.5 kB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1239, allocations: 8 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.124, allocations: 0 / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.124, allocations: 8 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1241, allocations: 35.92 kB / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1241, allocations: 7.938 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.1242, allocations: 15.89 kB / 361.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1242, allocations: 12 kB / 361.7 MB, free: 9.996 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,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001618/0.1244, allocations: 153.8 kB / 361.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.1245, allocations: 131.9 kB / 362 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1246, allocations: 25.17 kB / 362 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1246, allocations: 4 kB / 362 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1246, allocations: 0 / 362 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1246, allocations: 0 / 362 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1248, allocations: 197.4 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1248, allocations: 0 / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1249, allocations: 23.98 kB / 362.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1249, allocations: 8 kB / 362.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1249, allocations: 7.938 kB / 362.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1249, allocations: 4 kB / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1249, allocations: 0 / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.1251, allocations: 164.9 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.1252, allocations: 104.9 kB / 362.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1252, allocations: 0 / 362.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.1253, allocations: 8 kB / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-06/0.1253, allocations: 4 kB / 362.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1253, allocations: 7.984 kB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.1254, allocations: 122.4 kB / 362.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1254, allocations: 0 / 362.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1256, allocations: 16 kB / 362.7 MB, free: 8.934 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 (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.0001169/0.1258, allocations: 108.3 kB / 362.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1259, allocations: 103.8 kB / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.126, allocations: 0 / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.126, allocations: 0 / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1263, allocations: 107.3 kB / 363 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1267, allocations: 267.8 kB / 363.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.127, allocations: 0.7204 MB / 364 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.1271, allocations: 17.08 kB / 364 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.1271, allocations: 11.44 kB / 364 MB, free: 7.547 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1271, allocations: 0 / 364 MB, free: 7.547 MB / 302.1 MB Notification: Performance of Templates: time 0.003431/0.1305, allocations: 1.015 MB / 365 MB, free: 6.543 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches