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.001342/0.001342, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.468/1.468, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.001915/0.001915, allocations: 66.02 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09743, allocations: 50.53 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002371/0.09983, allocations: 0.9059 MB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003917/0.1003, allocations: 135.5 kB / 359.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.1003, allocations: 0 / 359.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1005, allocations: 11.88 kB / 359.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.1006, allocations: 7.922 kB / 359.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1008, allocations: 47.89 kB / 359.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1009, allocations: 59.84 kB / 359.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1011, allocations: 48.17 kB / 359.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.1011, allocations: 15.94 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1012, allocations: 43.77 kB / 359.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1012, allocations: 4 kB / 359.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1012, allocations: 4 kB / 359.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.1013, allocations: 23.92 kB / 359.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.1014, allocations: 43.67 kB / 359.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1015, allocations: 83.7 kB / 359.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1016, allocations: 3.938 kB / 359.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1016, allocations: 0 / 359.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1016, allocations: 0 / 359.9 MB, free: 12.51 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.0004686/0.102, allocations: 403.3 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1021, allocations: 12.03 kB / 360.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1021, allocations: 12.84 kB / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1024, allocations: 196.1 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1024, allocations: 12.31 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1024, allocations: 4.375 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1028, allocations: 218.7 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1028, allocations: 192 / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1029, allocations: 7.938 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1029, allocations: 0 / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-05/0.103, allocations: 35.98 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.1032, allocations: 189.5 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1034, allocations: 130.6 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1036, allocations: 81.19 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.1036, allocations: 0 / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1036, allocations: 38.5 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.61e-07/0.1036, allocations: 0 / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003115/0.104, allocations: 156.7 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.104, allocations: 71.39 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1042, allocations: 147.7 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1042, allocations: 29.7 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.1043, allocations: 88.47 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1043, allocations: 7.906 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.1044, allocations: 41.7 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1045, allocations: 318.8 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.1046, allocations: 19.98 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1047, allocations: 123.8 kB / 362.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1049, allocations: 149.5 kB / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1049, allocations: 4 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002238/0.1051, allocations: 153.2 kB / 362.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1051, allocations: 11.94 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1052, allocations: 4 kB / 362.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1052, allocations: 8.484 kB / 362.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.752e-05/0.1052, allocations: 11.94 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.1052, allocations: 4 kB / 362.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.1053, allocations: 15.91 kB / 362.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1053, allocations: 11.94 kB / 362.5 MB, free: 9.531 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.0001954/0.1055, allocations: 145.7 kB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.1057, allocations: 125.5 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.1057, allocations: 13.19 kB / 362.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1058, allocations: 11.98 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1058, allocations: 0 / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1058, allocations: 3.984 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1059, allocations: 185.5 kB / 363 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1059, allocations: 0 / 363 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.106, allocations: 7.938 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.106, allocations: 3.938 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.106, allocations: 4 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.106, allocations: 4 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.106, allocations: 0 / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1062, allocations: 152.2 kB / 363.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1063, allocations: 100.9 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1063, allocations: 7.938 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.1064, allocations: 4 kB / 363.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-06/0.1064, allocations: 0 / 363.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.1064, allocations: 4 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.419e-05/0.1065, allocations: 111.2 kB / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1065, allocations: 0 / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1067, allocations: 16 kB / 363.4 MB, free: 8.547 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.0001457/0.1069, allocations: 108.9 kB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1071, allocations: 111.7 kB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1072, allocations: 1 kB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.1072, allocations: 3.938 kB / 363.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1076, allocations: 93.17 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.108, allocations: 243.4 kB / 363.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1084, allocations: 0.7123 MB / 364.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1084, allocations: 11.44 kB / 364.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1084, allocations: 0 / 364.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of Templates: time 0.003022/0.1115, allocations: 1.204 MB / 365.9 MB, free: 6.004 MB / 302.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/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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches