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.001684/0.001684, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.77 kB / 306.9 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 50.53 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002824/0.1138, allocations: 0.9526 MB / 358.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004553/0.1143, allocations: 151.6 kB / 358.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1144, allocations: 7.938 kB / 358.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1146, allocations: 3.938 kB / 358.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1147, allocations: 11.92 kB / 358.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.115, allocations: 47.66 kB / 358.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1152, allocations: 63.84 kB / 358.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1153, allocations: 47.95 kB / 358.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.1154, allocations: 27.81 kB / 358.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.1155, allocations: 39.83 kB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1155, allocations: 4 kB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.1155, allocations: 4 kB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.1156, allocations: 35.84 kB / 358.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.1157, allocations: 35.73 kB / 358.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.1158, allocations: 67.83 kB / 358.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1158, allocations: 0 / 358.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1158, allocations: 0 / 358.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1159, allocations: 0 / 358.9 MB, free: 13.04 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.0006134/0.1165, allocations: 419.2 kB / 359.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1165, allocations: 8.031 kB / 359.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.1166, allocations: 16.75 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1168, allocations: 211.3 kB / 359.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1169, allocations: 8.375 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1169, allocations: 12.36 kB / 359.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.1173, allocations: 230.6 kB / 359.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1173, allocations: 4.125 kB / 359.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1174, allocations: 3.938 kB / 359.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1174, allocations: 4 kB / 359.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.1175, allocations: 51.95 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1177, allocations: 189.6 kB / 360.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1179, allocations: 150.9 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1181, allocations: 87.2 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.1181, allocations: 4 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1181, allocations: 34.5 kB / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.1181, allocations: 0 / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003339/0.1185, allocations: 185.5 kB / 360.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.1185, allocations: 67.34 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1187, allocations: 158.1 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1187, allocations: 29.7 kB / 360.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.1188, allocations: 92.47 kB / 360.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1188, allocations: 11.98 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.1189, allocations: 41.61 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.119, allocations: 322.8 kB / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.1191, allocations: 20 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1192, allocations: 117.7 kB / 361.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1194, allocations: 161.5 kB / 361.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1194, allocations: 0 / 361.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002412/0.1196, allocations: 161.2 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1196, allocations: 4.5 kB / 361.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1197, allocations: 11.94 kB / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1197, allocations: 4 kB / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1198, allocations: 39.92 kB / 361.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1198, allocations: 7.938 kB / 361.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.1199, allocations: 11.91 kB / 361.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1199, allocations: 8 kB / 361.8 MB, free: 9.891 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.0001669/0.1201, allocations: 145.8 kB / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.1203, allocations: 148.4 kB / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.1203, allocations: 21.12 kB / 362.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1204, allocations: 0 / 362.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1204, allocations: 4 kB / 362.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1204, allocations: 3.984 kB / 362.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1205, allocations: 189.6 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1205, allocations: 4 kB / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1206, allocations: 23.98 kB / 362.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1207, allocations: 0 / 362.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1207, allocations: 7.938 kB / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1207, allocations: 4 kB / 362.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1207, allocations: 3.938 kB / 362.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1209, allocations: 164.8 kB / 362.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.121, allocations: 101 kB / 362.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.121, allocations: 7.938 kB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.121, allocations: 4 kB / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-06/0.1211, allocations: 0 / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1211, allocations: 8 kB / 362.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.1212, allocations: 120.3 kB / 362.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1212, allocations: 3.938 kB / 362.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1214, allocations: 20 kB / 362.7 MB, free: 8.824 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.0001234/0.1215, allocations: 112.3 kB / 362.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1217, allocations: 104.5 kB / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1218, allocations: 0 / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.1218, allocations: 0 / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1222, allocations: 87.94 kB / 363 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.1226, allocations: 317.9 kB / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1229, allocations: 0.7204 MB / 364 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1229, allocations: 15.44 kB / 364.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1229, allocations: 0 / 364.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Templates: time 0.003295/0.1262, allocations: 1.344 MB / 365.4 MB, free: 6.066 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/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