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.001363/0.001363, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.4 MB, free: 9.105 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 60.88 kB / 306.4 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1198, allocations: 50.54 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002543/0.1224, allocations: 0.9444 MB / 357.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003762/0.1228, allocations: 139.6 kB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.1229, allocations: 11.94 kB / 358.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1231, allocations: 11.92 kB / 358.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1232, allocations: 15.91 kB / 358.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1234, allocations: 39.91 kB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1236, allocations: 63.84 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1237, allocations: 47.97 kB / 358.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.1238, allocations: 31.8 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.1239, allocations: 43.83 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1239, allocations: 4 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.1239, allocations: 4 kB / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.124, allocations: 31.91 kB / 358.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1241, allocations: 43.69 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1242, allocations: 95.62 kB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1242, allocations: 0 / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1242, allocations: 0 / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1242, allocations: 0 / 358.5 MB, free: 12.68 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.0005416/0.1248, allocations: 415.2 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1248, allocations: 8.031 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1249, allocations: 16.75 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1251, allocations: 215.3 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1251, allocations: 8.375 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1251, allocations: 8.375 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.1256, allocations: 233.8 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1256, allocations: 4.125 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1256, allocations: 3.938 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1256, allocations: 7.938 kB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.1257, allocations: 47.97 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.1259, allocations: 201.5 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1262, allocations: 143 kB / 359.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1263, allocations: 84.81 kB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1263, allocations: 8 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1264, allocations: 30.56 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1264, allocations: 0 / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003197/0.1267, allocations: 180.1 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.1268, allocations: 63.41 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1269, allocations: 166.1 kB / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.127, allocations: 29.7 kB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.127, allocations: 92.47 kB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1271, allocations: 11.98 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1271, allocations: 41.61 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1272, allocations: 326.8 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.1273, allocations: 19.98 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1274, allocations: 113.7 kB / 360.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1276, allocations: 165.5 kB / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1276, allocations: 0 / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002226/0.1278, allocations: 157.4 kB / 361.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1278, allocations: 8 kB / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1278, allocations: 7.938 kB / 361.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1279, allocations: 4 kB / 361.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.128, allocations: 35.92 kB / 361.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.128, allocations: 11.88 kB / 361.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.1281, allocations: 11.91 kB / 361.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1281, allocations: 8 kB / 361.3 MB, free: 9.535 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.0001314/0.1282, allocations: 154.1 kB / 361.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.1284, allocations: 141.3 kB / 361.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.1285, allocations: 21.12 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1285, allocations: 0 / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1285, allocations: 3.984 kB / 361.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1285, allocations: 4 kB / 361.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1287, allocations: 181.6 kB / 361.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1287, allocations: 4 kB / 361.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1288, allocations: 31.98 kB / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1288, allocations: 0 / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1288, allocations: 7.938 kB / 361.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1288, allocations: 0 / 361.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1289, allocations: 3.938 kB / 361.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1291, allocations: 171.5 kB / 362 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.1291, allocations: 97 kB / 362.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1292, allocations: 7.938 kB / 362.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.1292, allocations: 8 kB / 362.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.1292, allocations: 0 / 362.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1292, allocations: 8 kB / 362.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.1293, allocations: 126.1 kB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1293, allocations: 0 / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1296, allocations: 16 kB / 362.3 MB, free: 8.469 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.0001188/0.1297, allocations: 116.3 kB / 362.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1299, allocations: 111.8 kB / 362.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.1299, allocations: 7.938 kB / 362.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1299, allocations: 7.875 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1303, allocations: 84.98 kB / 362.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.1307, allocations: 286.3 kB / 362.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.131, allocations: 0.7162 MB / 363.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.131, allocations: 9.094 kB / 363.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1311, allocations: 19.44 kB / 363.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1311, allocations: 0 / 363.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of Templates: time 0.003865/0.135, allocations: 1.151 MB / 364.8 MB, free: 5.918 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