Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 118.1 kB / 17.83 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 201.8 kB / 18.78 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.668/1.668, allocations: 230.4 MB / 250 MB, free: 9.09 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 67.84 kB / 367.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3992, allocations: 53.32 MB / 420.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00258/0.4018, allocations: 0.9165 MB / 421.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.4022, allocations: 131.6 kB / 421.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.4023, allocations: 4 kB / 421.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.4024, allocations: 7.875 kB / 421.7 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.4025, allocations: 11.91 kB / 421.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.4027, allocations: 43.91 kB / 421.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4029, allocations: 67.83 kB / 421.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.403, allocations: 36.19 kB / 421.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.4031, allocations: 23.86 kB / 421.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.4031, allocations: 27.8 kB / 421.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.4032, allocations: 12 kB / 421.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.4032, allocations: 4 kB / 421.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.4033, allocations: 27.91 kB / 422 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.4033, allocations: 39.73 kB / 422 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.4035, allocations: 83.58 kB / 422.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4035, allocations: 0 / 422.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4035, allocations: 0 / 422.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.4035, allocations: 0 / 422.1 MB, free: 6.98 MB / 334.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.0005057/0.404, allocations: 402.9 kB / 422.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4041, allocations: 8.031 kB / 422.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.4041, allocations: 16.89 kB / 422.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.4044, allocations: 204.2 kB / 422.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4044, allocations: 8.375 kB / 422.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4044, allocations: 4.375 kB / 422.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.4049, allocations: 227.4 kB / 422.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4049, allocations: 192 / 422.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4049, allocations: 3.938 kB / 422.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.4049, allocations: 4 kB / 422.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.405, allocations: 35.98 kB / 423 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.4052, allocations: 193.5 kB / 423.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.4054, allocations: 123 kB / 423.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4056, allocations: 68.83 kB / 423.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4056, allocations: 0 / 423.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4056, allocations: 34.56 kB / 423.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.4056, allocations: 0 / 423.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003237/0.4059, allocations: 164.6 kB / 423.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.406, allocations: 67.41 kB / 423.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4062, allocations: 144.7 kB / 423.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4062, allocations: 29.7 kB / 423.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.4062, allocations: 84.47 kB / 423.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.4063, allocations: 11.98 kB / 423.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.4063, allocations: 41.66 kB / 423.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4065, allocations: 318.8 kB / 424.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.4066, allocations: 23.98 kB / 424.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4067, allocations: 117.7 kB / 424.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4069, allocations: 149.5 kB / 424.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4069, allocations: 4 kB / 424.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002309/0.4071, allocations: 157.2 kB / 424.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4071, allocations: 11.94 kB / 424.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4071, allocations: 0.5 kB / 424.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4071, allocations: 8 kB / 424.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.762e-05/0.4072, allocations: 11.98 kB / 424.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4072, allocations: 7.938 kB / 424.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.4073, allocations: 19.89 kB / 424.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4073, allocations: 8 kB / 424.7 MB, free: 3.996 MB / 334.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.0001414/0.4074, allocations: 141.8 kB / 424.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4076, allocations: 121.5 kB / 425 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.4076, allocations: 17.17 kB / 425 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4076, allocations: 8 kB / 425 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4077, allocations: 0 / 425 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4077, allocations: 0 / 425 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.4078, allocations: 185.6 kB / 425.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4078, allocations: 3.938 kB / 425.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.4078, allocations: 11.92 kB / 425.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4078, allocations: 3.938 kB / 425.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4079, allocations: 4 kB / 425.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4079, allocations: 4 kB / 425.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4079, allocations: 0 / 425.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.4081, allocations: 149 kB / 425.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.4082, allocations: 105 kB / 425.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.4082, allocations: 7.938 kB / 425.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.4082, allocations: 4 kB / 425.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.4082, allocations: 0 / 425.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4082, allocations: 4 kB / 425.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.4083, allocations: 105.8 kB / 425.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4083, allocations: 0 / 425.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.4085, allocations: 20 kB / 425.6 MB, free: 3.012 MB / 334.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.0001433/0.4087, allocations: 119 kB / 425.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4089, allocations: 88.16 kB / 425.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4089, allocations: 0 / 425.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.4089, allocations: 0 / 425.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4093, allocations: 86.73 kB / 425.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.4097, allocations: 221.4 kB / 426.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.4101, allocations: 0.7161 MB / 426.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.4101, allocations: 8.594 kB / 426.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.4102, allocations: 11.44 kB / 426.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.4102, allocations: 0 / 426.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Templates: time 0.004184/0.4144, allocations: 1.036 MB / 427.9 MB, free: 0.7188 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches