Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001818, allocations: 115.4 kB / 17.99 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 213.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 64.11 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002416/0.1085, allocations: 0.9645 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003574/0.1089, allocations: 135.6 kB / 358.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.109, allocations: 3.938 kB / 358.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1091, allocations: 11.92 kB / 358.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.1092, allocations: 4 kB / 358.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1094, allocations: 35.91 kB / 358.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1096, allocations: 63.83 kB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1097, allocations: 44.2 kB / 358.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.1098, allocations: 23.92 kB / 359 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.1098, allocations: 35.78 kB / 359 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1098, allocations: 4 kB / 359 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.1099, allocations: 8 kB / 359 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.1099, allocations: 27.91 kB / 359 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.11, allocations: 35.73 kB / 359.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1101, allocations: 51.92 kB / 359.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1101, allocations: 3.938 kB / 359.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1101, allocations: 4 kB / 359.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1101, allocations: 0 / 359.1 MB, free: 12.92 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.0004496/0.1106, allocations: 399.3 kB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1106, allocations: 12.03 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1107, allocations: 12.78 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1109, allocations: 196.1 kB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1109, allocations: 8.375 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1109, allocations: 8.375 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.1113, allocations: 218 kB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1114, allocations: 192 / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1114, allocations: 7.938 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1114, allocations: 4 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.1115, allocations: 35.97 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1117, allocations: 193.5 kB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1119, allocations: 126.6 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.112, allocations: 83.02 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.112, allocations: 0 / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1121, allocations: 42.5 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.41e-07/0.1121, allocations: 0 / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002925/0.1124, allocations: 160.2 kB / 360.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1125, allocations: 59.41 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1126, allocations: 152.3 kB / 360.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1126, allocations: 29.7 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1127, allocations: 84.47 kB / 360.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1127, allocations: 11.91 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.1128, allocations: 41.7 kB / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1129, allocations: 322.8 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.113, allocations: 19.98 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1131, allocations: 117.7 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1133, allocations: 153.5 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1133, allocations: 3.938 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002283/0.1136, allocations: 161.6 kB / 361.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1136, allocations: 7.938 kB / 361.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1136, allocations: 4 kB / 361.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1136, allocations: 7.984 kB / 361.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.339e-05/0.1136, allocations: 11.94 kB / 361.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1137, allocations: 4 kB / 361.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.1137, allocations: 7.906 kB / 361.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.1137, allocations: 12 kB / 361.8 MB, free: 9.941 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001822/0.1139, allocations: 145.8 kB / 361.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.1141, allocations: 117.5 kB / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.1142, allocations: 17.19 kB / 362.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1142, allocations: 0 / 362.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1142, allocations: 4 kB / 362.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1142, allocations: 7.984 kB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1143, allocations: 185.5 kB / 362.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.1144, allocations: 7.938 kB / 362.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1144, allocations: 11.94 kB / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1144, allocations: 0 / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1146, allocations: 148.9 kB / 362.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.1147, allocations: 97 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1147, allocations: 7.938 kB / 362.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.1148, allocations: 4 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-06/0.1148, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1148, allocations: 7.938 kB / 362.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.1149, allocations: 113.7 kB / 362.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1149, allocations: 4 kB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1151, allocations: 16 kB / 362.7 MB, free: 8.961 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001196/0.1152, allocations: 108.3 kB / 362.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1155, allocations: 114.7 kB / 362.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1155, allocations: 0 / 362.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.1155, allocations: 0 / 362.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1159, allocations: 87.83 kB / 363 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.1163, allocations: 283.9 kB / 363.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1166, allocations: 0.7123 MB / 364 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.1167, allocations: 11.44 kB / 364 MB, free: 7.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1167, allocations: 0 / 364 MB, free: 7.582 MB / 302.1 MB Notification: Performance of Templates: time 0.002953/0.1197, allocations: 1.205 MB / 365.2 MB, free: 6.379 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches